Versions in this module Expand all Collapse all v0 v0.1.0 May 5, 2020 Changes in this version + const MockMessageValue + const MockMinecraftHostnameValue + const MockUserHealthValue + const MockUserNameValue + const MockUserPosXValue + const MockUserPosYValue + const MockUserPosZValue + const MockUserXpValue + type BotSenderMockInvalid struct + func (sender *BotSenderMockInvalid) SendTextMessage(msg string) error + type BotSenderMockValid struct + Msg string + func (sender *BotSenderMockValid) SendTextMessageToChannels(msg string) error + type RconClientMockInvalid struct + func (r *RconClientMockInvalid) DataGetEntity(string) (*rcon.User, error) + func (r *RconClientMockInvalid) List() ([]string, error) + func (r *RconClientMockInvalid) Title(string) ([]string, error) + func (r *RconClientMockInvalid) WhitelistAdd(string) error + func (r *RconClientMockInvalid) WhitelistList() ([]string, error) + func (r *RconClientMockInvalid) WhitelistRemove(string) error + type RconClientMockValid struct + LoginUsernames []string + WhitelistedUsernames []string + func (r *RconClientMockValid) DataGetEntity(string) (*rcon.User, error) + func (r *RconClientMockValid) List() ([]string, error) + func (r *RconClientMockValid) Title(string) ([]string, error) + func (r *RconClientMockValid) WhitelistAdd(username string) error + func (r *RconClientMockValid) WhitelistList() ([]string, error) + func (r *RconClientMockValid) WhitelistRemove(username string) error + type SharedmemMockInvalid struct + func (m *SharedmemMockInvalid) AsyncPublishMessage(data domain.Message) error + func (m *SharedmemMockInvalid) AsyncWriteEntity(data domain.Entity) error + func (m *SharedmemMockInvalid) NewSubscriber() (sharedmem.Subscriber, error) + func (m *SharedmemMockInvalid) SyncReadEntity() (domain.Entity, error) + type SharedmemMockValid struct + Data *domain.Entity + func (m *SharedmemMockValid) AsyncPublishMessage(data domain.Message) error + func (m *SharedmemMockValid) AsyncWriteEntity(data domain.Entity) error + func (m *SharedmemMockValid) NewSubscriber() (sharedmem.Subscriber, error) + func (m *SharedmemMockValid) SyncReadEntity() (domain.Entity, error) + type SubscriberMockInvalid struct + func (m *SubscriberMockInvalid) SyncSubscribeMessage() (domain.Message, error) + type SubscriberMockValid struct + func (sub *SubscriberMockValid) SyncSubscribeMessage() (domain.Message, error)