util

package
v0.0.0-...-7687a33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorURIMissingToken = fmt.Errorf("uri: token missing")
)

Functions

func EncodeURI

func EncodeURI(ott, domain string, nodeID uint64) string

Types

type DecodedURI

type DecodedURI struct {
	Domain string
	Token  string
	NodeID uint64
	Params NodeURIParams
}

func DecodeURI

func DecodeURI(i string) (du *DecodedURI, err error)

type NodeURIParams

type NodeURIParams struct {
	Name string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL