Documentation ¶
Index ¶
- func Base64Decode(input string) ([]byte, error)
- func Base64Encode(input []byte) string
- func GetSelfSignedTLSConfig(address string) (*tls.Config, error)
- func GetTLSConfig(certFile string, keyFile string, caFile string, address string) (tlsConfig *tls.Config, err error)
- func TimeToTimestamp(t time.Time) *timestamp.Timestamp
- func TimestampToTime(ts *timestamp.Timestamp) time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶
Base64Decode takes in a Base64 string and returns a byte array and an error
func Base64Encode ¶
Base64Encode takes in a byte array then returns an encoded base64 string
func GetSelfSignedTLSConfig ¶ added in v0.2.9
func GetTLSConfig ¶ added in v0.3.0
func TimeToTimestamp ¶
TimeToTimestamp returns a protobuf Timestamp from a Time object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.