Documentation
¶
Index ¶
- Constants
- func ExtractResponseData(res *http.Response) ([]byte, error)
- func LPad(text string, n int, char string) string
- func RPad(text string, n int, char string) string
- func ReadFile(path string) ([]byte, error)
- func SHA1Encode(val []byte) []byte
- func WriteFile(path string, content []byte) error
- type Keys
Constants ¶
View Source
const PrivateKeyPath = "key.rsa"
View Source
const PublicKeyPath = "key.rsa.pub"
Variables ¶
This section is empty.
Functions ¶
func ExtractResponseData ¶ added in v0.3.0
func SHA1Encode ¶ added in v0.3.0
Types ¶
Click to show internal directories.
Click to hide internal directories.