package
Version:
v1.0.0-rc.1
Opens a new window with list of versions in this module.
Published: Dec 22, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Decode(connectUrl string) (rpcAddress, proto string, certBytes, macBytes []byte, err error)
-
func Encode(rpcServerAddr, proto string, certBytes, macBytes []byte) (*url.URL, error)
-
func EncodeToString(rpcServerAddr, proto string, certBytes, macBytes []byte) (string, error)
Decode decodes a base64 string URL and returns its query parameters.
Encode encodes the given args as query parameters of the returned *url.URL.
EncodeToString encodes the given args into a base64 string URL.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.