Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddRoutePrefix ¶
func AddRoutePrefix(prefix string, h http.HandlerFunc) http.Handler
AddRoutePrefix adds prefix to request and handle with h handler
func ExecTimeLogger ¶
func ExecTimeLogger(msg string) func()
ExecTimeLogger returns function intented to be used in defer to log execution time
Types ¶
type FileWalkerFunc ¶
FileWalkerFunc walker function for WalkFiles
type SignedUIDGenerator ¶
type SignedUIDGenerator struct {
// contains filtered or unexported fields
}
func NewSignedUIDGenerator ¶
func NewSignedUIDGenerator(secret []byte) *SignedUIDGenerator
func (*SignedUIDGenerator) GetUID ¶
func (s *SignedUIDGenerator) GetUID(n int) []byte
func (*SignedUIDGenerator) Validate ¶
func (s *SignedUIDGenerator) Validate(data []byte) bool
Click to show internal directories.
Click to hide internal directories.