eventinfo

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LoopEvent = iota + 1
	AtTimeEvent
)

event type enum

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	EventType int
	CountTime int64
	DoTime    int64
	LoopTime  time.Duration
	Do        func(interface{}) interface{}
	IsLaunch  bool
}

Info UpdateEvent struct DoTime: run at server time on time LoopTime: run at server every pass time.Duration time *LoopTime limit Mini time.Duration is 1 Second

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL