service

package
v1.17.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: MIT Imports: 8 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 {
	Configuration() IConfiguration
	SetSecureCookie(string, string)
	GetSecureCookie(string) string
	SetAuthCookie(string)
	GetAuthCookie() 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