Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetApplicationInstanceId ¶
func GetApplicationInstanceId() string
func GetTickRate ¶
func PrepareApplicationInstanceId ¶
func PrepareApplicationInstanceId() string
func SetTickRate ¶
Types ¶
type Application ¶
type Application interface { AddWorker(Worker) Execute() }
func NewApplication ¶
func NewApplication(name string) Application
type ApplicationImpl ¶
type ApplicationImpl struct {
// contains filtered or unexported fields
}
func (*ApplicationImpl) AddWorker ¶
func (a *ApplicationImpl) AddWorker(w Worker)
func (*ApplicationImpl) Deinit ¶
func (a *ApplicationImpl) Deinit()
func (*ApplicationImpl) DoInMainThread ¶
func (a *ApplicationImpl) DoInMainThread(t func(context.Context))
func (*ApplicationImpl) Execute ¶
func (a *ApplicationImpl) Execute()
func (*ApplicationImpl) GetWg ¶
func (a *ApplicationImpl) GetWg() *sync.WaitGroup
func (*ApplicationImpl) Init ¶
func (a *ApplicationImpl) Init()
Click to show internal directories.
Click to hide internal directories.