service

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IContext

type IContext interface {
	SetCookie(string, string)
	GetCookie(string) string
	Token() string
	Identity() Identity
	RequestId() uint64
	ApiVersion() int32
	ClientVersion() int32
	ClientLatestVersion() int32
	ServerVersion() int32
	ClientName() string
	ResultType() ID
	SetResultType(ID)
	IncrementActorsCount()
	ActorsCount() int
	Scheduler() IScheduler
	SetTimeout(func(), time.Duration) string
	SetInterval(func(), time.Duration) string
	CancelSchedule(string)
	Logger() ILogger
	SecurityHandler() ISecurityHandler
	Push(IPushMessage) error
	Broadcast(uint64, Pointer) error
	BroadcastSpecific(uint64, map[string]Pointer) error
	SMS(string, string) error
	Timestamp() time.Time
	IsStagingEnvironment() bool
	IsProductionEnvironment() bool
	ResultContainer() Pointer
	SubmitAnalyticsEvent(uint64, string, analytics.Fields)
	SubmitMeasurement(string, analytics.Tags, analytics.Fields)
	Async(func())
	Lock()
	Unlock()
	SystemCall([]string) error
}

Jump to

Keyboard shortcuts

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