Documentation ¶
Index ¶
- Constants
- Variables
- func GetGodiPacketName(t reflect.Type) (string, bool)
- func GetOutputFieldType(f interface{}, idx int) (reflect.Type, error)
- func InputOf(f interface{}) []reflect.Type
- func IsError(t reflect.Type) bool
- func IsGodiConstructor(constructor interface{}) bool
- func IsPtrStructOrInterface(t reflect.Type) bool
- func KeyInStrings(key string, strings []string) bool
- func OutputOf(f interface{}) []reflect.Type
- func SpinLock() sync.Locker
- func Version() (version string)
- type AsyncJobQueue
- type Job
Constants ¶
View Source
const ( MAJOR = 1 MINOR = 0 PATCH = 0 STATE = ALPHA STATE_VERSION = 1 )
View Source
const ( ALPHA = "a" BETA = "b" RELEASE_CANDIDATE = "rc" RELEASE = "" )
Variables ¶
View Source
var (
IsNotFunction = errors.New("is not function")
)
Functions ¶
func IsGodiConstructor ¶
func IsGodiConstructor(constructor interface{}) bool
func IsPtrStructOrInterface ¶
func KeyInStrings ¶
Types ¶
type AsyncJobQueue ¶
type AsyncJobQueue struct {
// contains filtered or unexported fields
}
func NewAsyncJobQueue ¶
func NewAsyncJobQueue() AsyncJobQueue
func (*AsyncJobQueue) Execute ¶
func (q *AsyncJobQueue) Execute(group *sync.WaitGroup)
func (*AsyncJobQueue) Push ¶
func (q *AsyncJobQueue) Push(job Job) (total int)
Click to show internal directories.
Click to hide internal directories.