Documentation ¶
Index ¶
- func ChunkSlice(list []string, chunkSize int) [][]string
- func Decode(input string) ([]byte, error)
- func Decrypt(input string, secret string) (string, error)
- func Encode(input []byte) string
- func Encrypt(input string, secret string) (string, error)
- func LogError(a ...interface{})
- func LogInfo(format string, a ...interface{})
- func LogRequest(r *http.Request)
- func LogSuccess(format string, a ...interface{})
- type RequestError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChunkSlice ¶
func LogRequest ¶
func LogSuccess ¶
func LogSuccess(format string, a ...interface{})
Types ¶
type RequestError ¶
func NewRequestError ¶
func NewRequestError(statusCode int, err error) *RequestError
func (*RequestError) Error ¶
func (e *RequestError) Error() string
Click to show internal directories.
Click to hide internal directories.