Documentation ¶
Index ¶
- func ExternalIP() (string, error)
- func GenerateRandomToken(length int64) string
- func Hash(s string) (uint32, error)
- func LoadClientTLSCredentials(cacertPaths []string, cacertB64 []byte) (credentials.TransportCredentials, error)
- func LoadServerTLSCredentials(servercertPath string, serverkeyPath string, servercertB64 []byte, ...) (*tls.Config, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomToken ¶
func LoadClientTLSCredentials ¶
func LoadClientTLSCredentials(cacertPaths []string, cacertB64 []byte) (credentials.TransportCredentials, error)
LoadClientTLSCredentials loads a certificate from disk and creates a transport credentials object for gRPC usage.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.