Documentation ¶
Index ¶
- func ConcurrentAction(maxConcurrent uint, action func(interface{}) (interface{}, error)) (chan<- interface{}, <-chan interface{}, <-chan *Error)
- func GetID(r *http.Request) string
- func IncludesString(array []string, lookup string) bool
- func IsRoot(r *http.Request) bool
- func Sha1(o interface{}) string
- func ToCamel(s string) string
- type Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConcurrentAction ¶
func ConcurrentAction(maxConcurrent uint, action func(interface{}) (interface{}, error)) (chan<- interface{}, <-chan interface{}, <-chan *Error)
ConcurrentAction create a pool of goroutines for executing action with concurrency limits
func IncludesString ¶
IncludesString checks in an array includes given string
Types ¶
Click to show internal directories.
Click to hide internal directories.