tdexdconnect

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(
	connectUrl string,
) (rpcAddress, proto string, certBytes, macBytes []byte, err error)

Decode decodes a base64 string URL and returns its query parameters.

func Encode

func Encode(
	rpcServerAddr, proto string,
	certBytes, macBytes []byte,
) (*url.URL, error)

Encode encodes the given args as query parameters of the returned *url.URL.

func EncodeToString

func EncodeToString(
	rpcServerAddr, proto string, certBytes, macBytes []byte,
) (string, error)

EncodeToString encodes the given args into a base64 string URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

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