//
pkg.gl
Category
github.com/mycontroller-org/server/v2
pkg
utils
concurrency
package
2.0.0
Repository:
https://github.com/mycontroller-org/server.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
12
Files
184 SLOC
#
Functions
FuncCallWithTimeout
FuncCallWithTimeout calls a given func and exists if the operation not completed in time.
GetAsyncRunner
GetAsyncRunner func executes the given func on the specified interval.
NewChannel
NewChannel returns new instance.
NewStore
NewStore returns brandnew store.
#
Structs
Channel
Channel struct.
Runner
Runner struct.
SafeBool
SafeBool is safe to use in concurrently.
Store
Store struct.