Documentation ¶
Index ¶
- Variables
- func Compress(data []byte) ([]byte, error)
- func LoadRemoteStruct(url string, v interface{}) error
- func LoadStruct(file string, v interface{}) error
- func NewWorkerManager(process int, processCallback FuncProcess) *workerManager
- func SendWithHttpCode(res http.ResponseWriter, code int, message string)
- type Config
- type FuncProcess
- type FuncResult
- type MirrorService
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func LoadRemoteStruct ¶
func LoadStruct ¶
func NewWorkerManager ¶
func NewWorkerManager(process int, processCallback FuncProcess) *workerManager
func SendWithHttpCode ¶
func SendWithHttpCode(res http.ResponseWriter, code int, message string)
Types ¶
type FuncProcess ¶
type FuncProcess func(id int, data <-chan interface{}, result chan interface{})
type FuncResult ¶
type FuncResult func(raw interface{})
type MirrorService ¶
Click to show internal directories.
Click to hide internal directories.