Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCountingFunctions ¶
func GetCountingFunctions() (functions []types.GameConfigExecutor)
Types ¶
type AdditionDataResultToOld ¶
type AdditionDataResultToOld struct{}
func (*AdditionDataResultToOld) Execute ¶
func (c *AdditionDataResultToOld) Execute(clientInfo tokentype.Info, config types.SortingConfig, newUserData interface{}, oldResult types.GameConfigResults) (newResult types.GameConfigResults, err error)
func (*AdditionDataResultToOld) Name ¶
func (c *AdditionDataResultToOld) Name() string
type DecrementResult ¶
type DecrementResult struct { }
func (*DecrementResult) Execute ¶
func (c *DecrementResult) Execute(clientInfo tokentype.Info, config types.SortingConfig, newUserData interface{}, oldResult types.GameConfigResults) (newResult types.GameConfigResults, err error)
func (*DecrementResult) Name ¶
func (c *DecrementResult) Name() string
type GameConfigsService ¶
type GameConfigsService interface { Do(token string, clientInfo tokentype.Info, gameConfig types.GameConfigs, data interface{}) GetDeletedRoomsResults(clientInfo tokentype.Info, onlinePlayersTokens []string) (results []types.GameConfigResults, ok bool) SetServerExecuteToGameConfig(clientInfo tokentype.Info, gameConfig types.GameConfigs) (newGameConfig types.GameConfigs) }
func NewGameConfigsService ¶
func NewGameConfigsService(storage memoryDB.IMemoryDB, token tokengenerator.TokenGenerator) GameConfigsService
type IncrementResult ¶
type IncrementResult struct { }
func (*IncrementResult) Execute ¶
func (c *IncrementResult) Execute(clientInfo tokentype.Info, config types.SortingConfig, newUserData interface{}, oldResult types.GameConfigResults) (newResult types.GameConfigResults, err error)
func (*IncrementResult) Name ¶
func (c *IncrementResult) Name() string
type SubtractDataResultToOld ¶
type SubtractDataResultToOld struct{}
func (*SubtractDataResultToOld) Execute ¶
func (c *SubtractDataResultToOld) Execute(clientInfo tokentype.Info, config types.SortingConfig, newUserData interface{}, oldResult types.GameConfigResults) (newResult types.GameConfigResults, err error)
func (*SubtractDataResultToOld) Name ¶
func (c *SubtractDataResultToOld) Name() string
Click to show internal directories.
Click to hide internal directories.