Skip to content

This library is used to create deep links for apps on Windows.

License

Notifications You must be signed in to change notification settings

pers0na2dev/deeplink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deeplinks Library

This library is used to create deep links for apps on Windows.

Usage

package main

import (
    "github.com/kaazedev/deeplink"
)

func main() {
    // Pass an scheme to the deeplink, and port for redirecting messages on already running app
    dl := deeplink.NewDeeplink("rocketapp", 5945)
	
    // Method to redirect messages to the app, this should be called before Register().
    dl.Prepare()
    
    // Register a scheme and set a callback function
    dl.Register(func(msg string) {
        println(msg)
    })
}

About

This library is used to create deep links for apps on Windows.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages