Documentation
¶
Overview ¶
Package banter provides automation for Twitch chat.
Index ¶
- Variables
- type Banter
- func (m *Banter) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Banter) CloneVT() *Banter
- func (this *Banter) EqualMessageVT(thatMsg any) bool
- func (this *Banter) EqualVT(that *Banter) bool
- func (x *Banter) GetCommand() string
- func (x *Banter) GetDisabled() bool
- func (x *Banter) GetId() int32
- func (x *Banter) GetRandom() bool
- func (x *Banter) GetText() string
- func (x *Banter) MarshalJSON() ([]byte, error)
- func (x *Banter) MarshalProtoJSON(s *json.MarshalState)
- func (m *Banter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Banter) MarshalToVT(dAtA []byte) (int, error)
- func (m *Banter) MarshalVT() (dAtA []byte, err error)
- func (*Banter) ProtoMessage()
- func (x *Banter) Reset()
- func (m *Banter) SizeVT() (n int)
- func (x *Banter) UnmarshalJSON(b []byte) error
- func (x *Banter) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Banter) UnmarshalVT(dAtA []byte) error
- type BanterRenderRequest
- func (m *BanterRenderRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *BanterRenderRequest) CloneVT() *BanterRenderRequest
- func (this *BanterRenderRequest) EqualMessageVT(thatMsg any) bool
- func (this *BanterRenderRequest) EqualVT(that *BanterRenderRequest) bool
- func (x *BanterRenderRequest) GetBanter() *Banter
- func (x *BanterRenderRequest) GetOriginal() *twitch.EventChannelChatMessage
- func (x *BanterRenderRequest) GetSender() *twitch.User
- func (x *BanterRenderRequest) MarshalJSON() ([]byte, error)
- func (x *BanterRenderRequest) MarshalProtoJSON(s *json.MarshalState)
- func (m *BanterRenderRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BanterRenderRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *BanterRenderRequest) MarshalVT() (dAtA []byte, err error)
- func (*BanterRenderRequest) ProtoMessage()
- func (x *BanterRenderRequest) Reset()
- func (m *BanterRenderRequest) SizeVT() (n int)
- func (x *BanterRenderRequest) UnmarshalJSON(b []byte) error
- func (x *BanterRenderRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *BanterRenderRequest) UnmarshalVT(dAtA []byte) error
- type BanterRenderResponse
- func (m *BanterRenderResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *BanterRenderResponse) CloneVT() *BanterRenderResponse
- func (this *BanterRenderResponse) EqualMessageVT(thatMsg any) bool
- func (this *BanterRenderResponse) EqualVT(that *BanterRenderResponse) bool
- func (x *BanterRenderResponse) GetOutput() string
- func (x *BanterRenderResponse) MarshalJSON() ([]byte, error)
- func (x *BanterRenderResponse) MarshalProtoJSON(s *json.MarshalState)
- func (m *BanterRenderResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BanterRenderResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *BanterRenderResponse) MarshalVT() (dAtA []byte, err error)
- func (*BanterRenderResponse) ProtoMessage()
- func (x *BanterRenderResponse) Reset()
- func (m *BanterRenderResponse) SizeVT() (n int)
- func (x *BanterRenderResponse) UnmarshalJSON(b []byte) error
- func (x *BanterRenderResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *BanterRenderResponse) UnmarshalVT(dAtA []byte) error
- type Banterer
- type BusTopic
- func (x BusTopic) Enum() *BusTopic
- func (x BusTopic) MarshalJSON() ([]byte, error)
- func (x BusTopic) MarshalProtoJSON(s *json.MarshalState)
- func (x BusTopic) MarshalText() ([]byte, error)
- func (x BusTopic) String() string
- func (x *BusTopic) UnmarshalJSON(b []byte) error
- func (x *BusTopic) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *BusTopic) UnmarshalText(b []byte) error
- type Config
- func (m *Config) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Config) CloneVT() *Config
- func (this *Config) EqualMessageVT(thatMsg any) bool
- func (this *Config) EqualVT(that *Config) bool
- func (x *Config) GetBanters() []*Banter
- func (x *Config) GetChannelCheer() *EventSettings
- func (x *Config) GetChannelFollow() *EventSettings
- func (x *Config) GetChannelRaid() *EventSettings
- func (x *Config) GetCooldownSeconds() uint32
- func (x *Config) GetGuestListCommands() map[string]*GuestListCommand
- func (x *Config) GetGuestLists() map[string]*GuestList
- func (x *Config) GetIntervalSeconds() uint32
- func (x *Config) GetSendAs() string
- func (x *Config) GetSendTo() string
- func (x *Config) MarshalJSON() ([]byte, error)
- func (x *Config) MarshalProtoJSON(s *json.MarshalState)
- func (m *Config) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Config) MarshalToVT(dAtA []byte) (int, error)
- func (m *Config) MarshalVT() (dAtA []byte, err error)
- func (*Config) ProtoMessage()
- func (x *Config) Reset()
- func (m *Config) SizeVT() (n int)
- func (x *Config) UnmarshalJSON(b []byte) error
- func (x *Config) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Config) UnmarshalVT(dAtA []byte) error
- func (cfg *Config) Validate() error
- type ConfigGetRequest
- func (m *ConfigGetRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ConfigGetRequest) CloneVT() *ConfigGetRequest
- func (this *ConfigGetRequest) EqualMessageVT(thatMsg any) bool
- func (this *ConfigGetRequest) EqualVT(that *ConfigGetRequest) bool
- func (x *ConfigGetRequest) MarshalJSON() ([]byte, error)
- func (x *ConfigGetRequest) MarshalProtoJSON(s *json.MarshalState)
- func (m *ConfigGetRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ConfigGetRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ConfigGetRequest) MarshalVT() (dAtA []byte, err error)
- func (*ConfigGetRequest) ProtoMessage()
- func (x *ConfigGetRequest) Reset()
- func (m *ConfigGetRequest) SizeVT() (n int)
- func (x *ConfigGetRequest) UnmarshalJSON(b []byte) error
- func (x *ConfigGetRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ConfigGetRequest) UnmarshalVT(dAtA []byte) error
- type ConfigGetResponse
- func (m *ConfigGetResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ConfigGetResponse) CloneVT() *ConfigGetResponse
- func (this *ConfigGetResponse) EqualMessageVT(thatMsg any) bool
- func (this *ConfigGetResponse) EqualVT(that *ConfigGetResponse) bool
- func (x *ConfigGetResponse) GetConfig() *Config
- func (x *ConfigGetResponse) MarshalJSON() ([]byte, error)
- func (x *ConfigGetResponse) MarshalProtoJSON(s *json.MarshalState)
- func (m *ConfigGetResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ConfigGetResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ConfigGetResponse) MarshalVT() (dAtA []byte, err error)
- func (*ConfigGetResponse) ProtoMessage()
- func (x *ConfigGetResponse) Reset()
- func (m *ConfigGetResponse) SizeVT() (n int)
- func (x *ConfigGetResponse) UnmarshalJSON(b []byte) error
- func (x *ConfigGetResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ConfigGetResponse) UnmarshalVT(dAtA []byte) error
- type ConfigSetRequest
- func (m *ConfigSetRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ConfigSetRequest) CloneVT() *ConfigSetRequest
- func (this *ConfigSetRequest) EqualMessageVT(thatMsg any) bool
- func (this *ConfigSetRequest) EqualVT(that *ConfigSetRequest) bool
- func (x *ConfigSetRequest) GetConfig() *Config
- func (x *ConfigSetRequest) MarshalJSON() ([]byte, error)
- func (x *ConfigSetRequest) MarshalProtoJSON(s *json.MarshalState)
- func (m *ConfigSetRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ConfigSetRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ConfigSetRequest) MarshalVT() (dAtA []byte, err error)
- func (*ConfigSetRequest) ProtoMessage()
- func (x *ConfigSetRequest) Reset()
- func (m *ConfigSetRequest) SizeVT() (n int)
- func (x *ConfigSetRequest) UnmarshalJSON(b []byte) error
- func (x *ConfigSetRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ConfigSetRequest) UnmarshalVT(dAtA []byte) error
- type ConfigSetResponse
- func (m *ConfigSetResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ConfigSetResponse) CloneVT() *ConfigSetResponse
- func (this *ConfigSetResponse) EqualMessageVT(thatMsg any) bool
- func (this *ConfigSetResponse) EqualVT(that *ConfigSetResponse) bool
- func (x *ConfigSetResponse) GetConfig() *Config
- func (x *ConfigSetResponse) MarshalJSON() ([]byte, error)
- func (x *ConfigSetResponse) MarshalProtoJSON(s *json.MarshalState)
- func (m *ConfigSetResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ConfigSetResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ConfigSetResponse) MarshalVT() (dAtA []byte, err error)
- func (*ConfigSetResponse) ProtoMessage()
- func (x *ConfigSetResponse) Reset()
- func (m *ConfigSetResponse) SizeVT() (n int)
- func (x *ConfigSetResponse) UnmarshalJSON(b []byte) error
- func (x *ConfigSetResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ConfigSetResponse) UnmarshalVT(dAtA []byte) error
- type Config_GuestListCommandsEntry
- func (x *Config_GuestListCommandsEntry) GetKey() string
- func (x *Config_GuestListCommandsEntry) GetValue() *GuestListCommand
- func (x *Config_GuestListCommandsEntry) MarshalJSON() ([]byte, error)
- func (x *Config_GuestListCommandsEntry) MarshalProtoJSON(s *json.MarshalState)
- func (*Config_GuestListCommandsEntry) ProtoMessage()
- func (x *Config_GuestListCommandsEntry) Reset()
- func (x *Config_GuestListCommandsEntry) UnmarshalJSON(b []byte) error
- func (x *Config_GuestListCommandsEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
- type Config_GuestListsEntry
- func (x *Config_GuestListsEntry) GetKey() string
- func (x *Config_GuestListsEntry) GetValue() *GuestList
- func (x *Config_GuestListsEntry) MarshalJSON() ([]byte, error)
- func (x *Config_GuestListsEntry) MarshalProtoJSON(s *json.MarshalState)
- func (*Config_GuestListsEntry) ProtoMessage()
- func (x *Config_GuestListsEntry) Reset()
- func (x *Config_GuestListsEntry) UnmarshalJSON(b []byte) error
- func (x *Config_GuestListsEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
- type EventSettings
- func (m *EventSettings) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *EventSettings) CloneVT() *EventSettings
- func (this *EventSettings) EqualMessageVT(thatMsg any) bool
- func (this *EventSettings) EqualVT(that *EventSettings) bool
- func (x *EventSettings) GetEnabled() bool
- func (x *EventSettings) GetText() string
- func (x *EventSettings) MarshalJSON() ([]byte, error)
- func (x *EventSettings) MarshalProtoJSON(s *json.MarshalState)
- func (m *EventSettings) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *EventSettings) MarshalToVT(dAtA []byte) (int, error)
- func (m *EventSettings) MarshalVT() (dAtA []byte, err error)
- func (*EventSettings) ProtoMessage()
- func (x *EventSettings) Reset()
- func (m *EventSettings) SizeVT() (n int)
- func (x *EventSettings) UnmarshalJSON(b []byte) error
- func (x *EventSettings) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *EventSettings) UnmarshalVT(dAtA []byte) error
- type GuestList
- func (m *GuestList) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *GuestList) CloneVT() *GuestList
- func (this *GuestList) EqualMessageVT(thatMsg any) bool
- func (this *GuestList) EqualVT(that *GuestList) bool
- func (x *GuestList) GetMembers() []*GuestList_Member
- func (x *GuestList) MarshalJSON() ([]byte, error)
- func (x *GuestList) MarshalProtoJSON(s *json.MarshalState)
- func (m *GuestList) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GuestList) MarshalToVT(dAtA []byte) (int, error)
- func (m *GuestList) MarshalVT() (dAtA []byte, err error)
- func (*GuestList) ProtoMessage()
- func (x *GuestList) Reset()
- func (m *GuestList) SizeVT() (n int)
- func (x *GuestList) UnmarshalJSON(b []byte) error
- func (x *GuestList) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *GuestList) UnmarshalVT(dAtA []byte) error
- type GuestListCommand
- func (m *GuestListCommand) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *GuestListCommand) CloneVT() *GuestListCommand
- func (this *GuestListCommand) EqualMessageVT(thatMsg any) bool
- func (this *GuestListCommand) EqualVT(that *GuestListCommand) bool
- func (x *GuestListCommand) GetCommand() string
- func (x *GuestListCommand) GetGuestListNames() []string
- func (x *GuestListCommand) MarshalJSON() ([]byte, error)
- func (x *GuestListCommand) MarshalProtoJSON(s *json.MarshalState)
- func (m *GuestListCommand) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GuestListCommand) MarshalToVT(dAtA []byte) (int, error)
- func (m *GuestListCommand) MarshalVT() (dAtA []byte, err error)
- func (*GuestListCommand) ProtoMessage()
- func (x *GuestListCommand) Reset()
- func (m *GuestListCommand) SizeVT() (n int)
- func (x *GuestListCommand) UnmarshalJSON(b []byte) error
- func (x *GuestListCommand) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *GuestListCommand) UnmarshalVT(dAtA []byte) error
- type GuestList_Member
- func (m *GuestList_Member) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *GuestList_Member) CloneVT() *GuestList_Member
- func (this *GuestList_Member) EqualMessageVT(thatMsg any) bool
- func (this *GuestList_Member) EqualVT(that *GuestList_Member) bool
- func (x *GuestList_Member) GetId() string
- func (x *GuestList_Member) GetLogin() string
- func (x *GuestList_Member) MarshalJSON() ([]byte, error)
- func (x *GuestList_Member) MarshalProtoJSON(s *json.MarshalState)
- func (m *GuestList_Member) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GuestList_Member) MarshalToVT(dAtA []byte) (int, error)
- func (m *GuestList_Member) MarshalVT() (dAtA []byte, err error)
- func (*GuestList_Member) ProtoMessage()
- func (x *GuestList_Member) Reset()
- func (m *GuestList_Member) SizeVT() (n int)
- func (x *GuestList_Member) UnmarshalJSON(b []byte) error
- func (x *GuestList_Member) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *GuestList_Member) UnmarshalVT(dAtA []byte) error
- type MessageTypeCommand
- func (x MessageTypeCommand) Enum() *MessageTypeCommand
- func (x MessageTypeCommand) MarshalJSON() ([]byte, error)
- func (x MessageTypeCommand) MarshalProtoJSON(s *json.MarshalState)
- func (x MessageTypeCommand) MarshalText() ([]byte, error)
- func (x MessageTypeCommand) String() string
- func (x *MessageTypeCommand) UnmarshalJSON(b []byte) error
- func (x *MessageTypeCommand) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *MessageTypeCommand) UnmarshalText(b []byte) error
- type MessageTypeRequest
- func (x MessageTypeRequest) Enum() *MessageTypeRequest
- func (x MessageTypeRequest) MarshalJSON() ([]byte, error)
- func (x MessageTypeRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x MessageTypeRequest) MarshalText() ([]byte, error)
- func (x MessageTypeRequest) String() string
- func (x *MessageTypeRequest) UnmarshalJSON(b []byte) error
- func (x *MessageTypeRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *MessageTypeRequest) UnmarshalText(b []byte) error
- type PB
Constants ¶
This section is empty.
Variables ¶
var ( BusTopic_name = map[int32]string{ 0: "BANTER_EVENT", 1: "BANTER_REQUEST", 2: "BANTER_COMMAND", } BusTopic_value = map[string]int32{ "BANTER_EVENT": 0, "BANTER_REQUEST": 1, "BANTER_COMMAND": 2, } )
Enum value maps for BusTopic.
var ( MessageTypeRequest_name = map[int32]string{ 0: "CONFIG_GET_REQ", 1: "CONFIG_GET_RESP", 2: "BANTER_RENDER_REQ", 3: "BANTER_RENDER_RESP", } MessageTypeRequest_value = map[string]int32{ "CONFIG_GET_REQ": 0, "CONFIG_GET_RESP": 1, "BANTER_RENDER_REQ": 2, "BANTER_RENDER_RESP": 3, } )
Enum value maps for MessageTypeRequest.
var ( MessageTypeCommand_name = map[int32]string{ 0: "CONFIG_SET_REQ", 1: "CONFIG_SET_RESP", } MessageTypeCommand_value = map[string]int32{ "CONFIG_SET_REQ": 0, "CONFIG_SET_RESP": 1, } )
Enum value maps for MessageTypeCommand.
var (
TestSender = &twitch.User{
Id: "sender id",
Login: "sender login",
DisplayName: "sender display name",
Type: "sender type",
BroadcasterType: "sender broadcaster type",
Description: "sender description",
ProfileImageUrl: "sender profile image URL",
OfflineImageUrl: "sender offline image URL",
ViewCount: 123,
Email: "sender email",
CreatedAt: 1740162543,
}
)
Functions ¶
This section is empty.
Types ¶
type Banter ¶
type Banter struct {
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
Disabled bool `protobuf:"varint,3,opt,name=disabled,proto3" json:"disabled,omitempty"`
Random bool `protobuf:"varint,4,opt,name=random,proto3" json:"random,omitempty"`
Id int32 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*Banter) CloneMessageVT ¶
func (m *Banter) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Banter) EqualMessageVT ¶
func (*Banter) GetCommand ¶
func (*Banter) GetDisabled ¶
func (*Banter) MarshalJSON ¶
MarshalJSON marshals the Banter to JSON.
func (*Banter) MarshalProtoJSON ¶
func (x *Banter) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Banter message to JSON.
func (*Banter) MarshalToSizedBufferVT ¶
func (*Banter) ProtoMessage ¶
func (*Banter) ProtoMessage()
func (*Banter) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Banter from JSON.
func (*Banter) UnmarshalProtoJSON ¶
func (x *Banter) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Banter message from JSON.
func (*Banter) UnmarshalVT ¶
type BanterRenderRequest ¶
type BanterRenderRequest struct {
Banter *Banter `protobuf:"bytes,1,opt,name=banter,proto3" json:"banter,omitempty"`
Original *twitch.EventChannelChatMessage `protobuf:"bytes,2,opt,name=original,proto3" json:"original,omitempty"`
Sender *twitch.User `protobuf:"bytes,3,opt,name=sender,proto3,oneof" json:"sender,omitempty"`
// contains filtered or unexported fields
}
func (*BanterRenderRequest) CloneMessageVT ¶
func (m *BanterRenderRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*BanterRenderRequest) CloneVT ¶
func (m *BanterRenderRequest) CloneVT() *BanterRenderRequest
func (*BanterRenderRequest) EqualMessageVT ¶
func (this *BanterRenderRequest) EqualMessageVT(thatMsg any) bool
func (*BanterRenderRequest) EqualVT ¶
func (this *BanterRenderRequest) EqualVT(that *BanterRenderRequest) bool
func (*BanterRenderRequest) GetBanter ¶
func (x *BanterRenderRequest) GetBanter() *Banter
func (*BanterRenderRequest) GetOriginal ¶
func (x *BanterRenderRequest) GetOriginal() *twitch.EventChannelChatMessage
func (*BanterRenderRequest) GetSender ¶
func (x *BanterRenderRequest) GetSender() *twitch.User
func (*BanterRenderRequest) MarshalJSON ¶
func (x *BanterRenderRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the BanterRenderRequest to JSON.
func (*BanterRenderRequest) MarshalProtoJSON ¶
func (x *BanterRenderRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the BanterRenderRequest message to JSON.
func (*BanterRenderRequest) MarshalToSizedBufferVT ¶
func (m *BanterRenderRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BanterRenderRequest) MarshalToVT ¶
func (m *BanterRenderRequest) MarshalToVT(dAtA []byte) (int, error)
func (*BanterRenderRequest) MarshalVT ¶
func (m *BanterRenderRequest) MarshalVT() (dAtA []byte, err error)
func (*BanterRenderRequest) ProtoMessage ¶
func (*BanterRenderRequest) ProtoMessage()
func (*BanterRenderRequest) Reset ¶
func (x *BanterRenderRequest) Reset()
func (*BanterRenderRequest) SizeVT ¶
func (m *BanterRenderRequest) SizeVT() (n int)
func (*BanterRenderRequest) UnmarshalJSON ¶
func (x *BanterRenderRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the BanterRenderRequest from JSON.
func (*BanterRenderRequest) UnmarshalProtoJSON ¶
func (x *BanterRenderRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the BanterRenderRequest message from JSON.
func (*BanterRenderRequest) UnmarshalVT ¶
func (m *BanterRenderRequest) UnmarshalVT(dAtA []byte) error
type BanterRenderResponse ¶
type BanterRenderResponse struct {
Output string `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
// contains filtered or unexported fields
}
func (*BanterRenderResponse) CloneMessageVT ¶
func (m *BanterRenderResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*BanterRenderResponse) CloneVT ¶
func (m *BanterRenderResponse) CloneVT() *BanterRenderResponse
func (*BanterRenderResponse) EqualMessageVT ¶
func (this *BanterRenderResponse) EqualMessageVT(thatMsg any) bool
func (*BanterRenderResponse) EqualVT ¶
func (this *BanterRenderResponse) EqualVT(that *BanterRenderResponse) bool
func (*BanterRenderResponse) GetOutput ¶
func (x *BanterRenderResponse) GetOutput() string
func (*BanterRenderResponse) MarshalJSON ¶
func (x *BanterRenderResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the BanterRenderResponse to JSON.
func (*BanterRenderResponse) MarshalProtoJSON ¶
func (x *BanterRenderResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the BanterRenderResponse message to JSON.
func (*BanterRenderResponse) MarshalToSizedBufferVT ¶
func (m *BanterRenderResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BanterRenderResponse) MarshalToVT ¶
func (m *BanterRenderResponse) MarshalToVT(dAtA []byte) (int, error)
func (*BanterRenderResponse) MarshalVT ¶
func (m *BanterRenderResponse) MarshalVT() (dAtA []byte, err error)
func (*BanterRenderResponse) ProtoMessage ¶
func (*BanterRenderResponse) ProtoMessage()
func (*BanterRenderResponse) Reset ¶
func (x *BanterRenderResponse) Reset()
func (*BanterRenderResponse) SizeVT ¶
func (m *BanterRenderResponse) SizeVT() (n int)
func (*BanterRenderResponse) UnmarshalJSON ¶
func (x *BanterRenderResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the BanterRenderResponse from JSON.
func (*BanterRenderResponse) UnmarshalProtoJSON ¶
func (x *BanterRenderResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the BanterRenderResponse message from JSON.
func (*BanterRenderResponse) UnmarshalVT ¶
func (m *BanterRenderResponse) UnmarshalVT(dAtA []byte) error
type Banterer ¶
type Banterer struct {
// contains filtered or unexported fields
}
Banterer is the module
func (*Banterer) Handle ¶
func (bb *Banterer) Handle(msg *bus.BusMessage)
type BusTopic ¶
type BusTopic int32
func (BusTopic) MarshalJSON ¶
MarshalJSON marshals the BusTopic to JSON.
func (BusTopic) MarshalProtoJSON ¶
func (x BusTopic) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the BusTopic to JSON.
func (BusTopic) MarshalText ¶
MarshalText marshals the BusTopic to text.
func (*BusTopic) UnmarshalJSON ¶
UnmarshalJSON unmarshals the BusTopic from JSON.
func (*BusTopic) UnmarshalProtoJSON ¶
func (x *BusTopic) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the BusTopic from JSON.
func (*BusTopic) UnmarshalText ¶
UnmarshalText unmarshals the BusTopic from text.
type Config ¶
type Config struct {
IntervalSeconds uint32 `protobuf:"varint,1,opt,name=interval_seconds,json=intervalSeconds,proto3" json:"intervalSeconds,omitempty"`
CooldownSeconds uint32 `protobuf:"varint,2,opt,name=cooldown_seconds,json=cooldownSeconds,proto3" json:"cooldownSeconds,omitempty"`
Banters []*Banter `protobuf:"bytes,3,rep,name=banters,proto3" json:"banters,omitempty"`
ChannelRaid *EventSettings `protobuf:"bytes,4,opt,name=channel_raid,json=channelRaid,proto3" json:"channelRaid,omitempty"`
ChannelFollow *EventSettings `protobuf:"bytes,5,opt,name=channel_follow,json=channelFollow,proto3" json:"channelFollow,omitempty"`
ChannelCheer *EventSettings `protobuf:"bytes,6,opt,name=channel_cheer,json=channelCheer,proto3" json:"channelCheer,omitempty"`
GuestLists map[string]*GuestList `` /* 178-byte string literal not displayed */
GuestListCommands map[string]*GuestListCommand `` /* 200-byte string literal not displayed */
SendAs string `protobuf:"bytes,10,opt,name=send_as,json=sendAs,proto3" json:"sendAs,omitempty"`
SendTo string `protobuf:"bytes,11,opt,name=send_to,json=sendTo,proto3" json:"sendTo,omitempty"`
// contains filtered or unexported fields
}
func (*Config) CloneMessageVT ¶
func (m *Config) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Config) EqualMessageVT ¶
func (*Config) GetBanters ¶
func (*Config) GetChannelCheer ¶
func (x *Config) GetChannelCheer() *EventSettings
func (*Config) GetChannelFollow ¶
func (x *Config) GetChannelFollow() *EventSettings
func (*Config) GetChannelRaid ¶
func (x *Config) GetChannelRaid() *EventSettings
func (*Config) GetCooldownSeconds ¶
func (*Config) GetGuestListCommands ¶
func (x *Config) GetGuestListCommands() map[string]*GuestListCommand
func (*Config) GetGuestLists ¶
func (*Config) GetIntervalSeconds ¶
func (*Config) MarshalJSON ¶
MarshalJSON marshals the Config to JSON.
func (*Config) MarshalProtoJSON ¶
func (x *Config) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Config message to JSON.
func (*Config) MarshalToSizedBufferVT ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Config from JSON.
func (*Config) UnmarshalProtoJSON ¶
func (x *Config) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Config message from JSON.
func (*Config) UnmarshalVT ¶
type ConfigGetRequest ¶
type ConfigGetRequest struct {
// contains filtered or unexported fields
}
func (*ConfigGetRequest) CloneMessageVT ¶
func (m *ConfigGetRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ConfigGetRequest) CloneVT ¶
func (m *ConfigGetRequest) CloneVT() *ConfigGetRequest
func (*ConfigGetRequest) EqualMessageVT ¶
func (this *ConfigGetRequest) EqualMessageVT(thatMsg any) bool
func (*ConfigGetRequest) EqualVT ¶
func (this *ConfigGetRequest) EqualVT(that *ConfigGetRequest) bool
func (*ConfigGetRequest) MarshalJSON ¶
func (x *ConfigGetRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ConfigGetRequest to JSON.
func (*ConfigGetRequest) MarshalProtoJSON ¶
func (x *ConfigGetRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ConfigGetRequest message to JSON.
func (*ConfigGetRequest) MarshalToSizedBufferVT ¶
func (m *ConfigGetRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ConfigGetRequest) MarshalToVT ¶
func (m *ConfigGetRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ConfigGetRequest) MarshalVT ¶
func (m *ConfigGetRequest) MarshalVT() (dAtA []byte, err error)
func (*ConfigGetRequest) ProtoMessage ¶
func (*ConfigGetRequest) ProtoMessage()
func (*ConfigGetRequest) Reset ¶
func (x *ConfigGetRequest) Reset()
func (*ConfigGetRequest) SizeVT ¶
func (m *ConfigGetRequest) SizeVT() (n int)
func (*ConfigGetRequest) UnmarshalJSON ¶
func (x *ConfigGetRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ConfigGetRequest from JSON.
func (*ConfigGetRequest) UnmarshalProtoJSON ¶
func (x *ConfigGetRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ConfigGetRequest message from JSON.
func (*ConfigGetRequest) UnmarshalVT ¶
func (m *ConfigGetRequest) UnmarshalVT(dAtA []byte) error
type ConfigGetResponse ¶
type ConfigGetResponse struct {
Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
// contains filtered or unexported fields
}
func (*ConfigGetResponse) CloneMessageVT ¶
func (m *ConfigGetResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ConfigGetResponse) CloneVT ¶
func (m *ConfigGetResponse) CloneVT() *ConfigGetResponse
func (*ConfigGetResponse) EqualMessageVT ¶
func (this *ConfigGetResponse) EqualMessageVT(thatMsg any) bool
func (*ConfigGetResponse) EqualVT ¶
func (this *ConfigGetResponse) EqualVT(that *ConfigGetResponse) bool
func (*ConfigGetResponse) GetConfig ¶
func (x *ConfigGetResponse) GetConfig() *Config
func (*ConfigGetResponse) MarshalJSON ¶
func (x *ConfigGetResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ConfigGetResponse to JSON.
func (*ConfigGetResponse) MarshalProtoJSON ¶
func (x *ConfigGetResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ConfigGetResponse message to JSON.
func (*ConfigGetResponse) MarshalToSizedBufferVT ¶
func (m *ConfigGetResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ConfigGetResponse) MarshalToVT ¶
func (m *ConfigGetResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ConfigGetResponse) MarshalVT ¶
func (m *ConfigGetResponse) MarshalVT() (dAtA []byte, err error)
func (*ConfigGetResponse) ProtoMessage ¶
func (*ConfigGetResponse) ProtoMessage()
func (*ConfigGetResponse) Reset ¶
func (x *ConfigGetResponse) Reset()
func (*ConfigGetResponse) SizeVT ¶
func (m *ConfigGetResponse) SizeVT() (n int)
func (*ConfigGetResponse) UnmarshalJSON ¶
func (x *ConfigGetResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ConfigGetResponse from JSON.
func (*ConfigGetResponse) UnmarshalProtoJSON ¶
func (x *ConfigGetResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ConfigGetResponse message from JSON.
func (*ConfigGetResponse) UnmarshalVT ¶
func (m *ConfigGetResponse) UnmarshalVT(dAtA []byte) error
type ConfigSetRequest ¶
type ConfigSetRequest struct {
Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
// contains filtered or unexported fields
}
func (*ConfigSetRequest) CloneMessageVT ¶
func (m *ConfigSetRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ConfigSetRequest) CloneVT ¶
func (m *ConfigSetRequest) CloneVT() *ConfigSetRequest
func (*ConfigSetRequest) EqualMessageVT ¶
func (this *ConfigSetRequest) EqualMessageVT(thatMsg any) bool
func (*ConfigSetRequest) EqualVT ¶
func (this *ConfigSetRequest) EqualVT(that *ConfigSetRequest) bool
func (*ConfigSetRequest) GetConfig ¶
func (x *ConfigSetRequest) GetConfig() *Config
func (*ConfigSetRequest) MarshalJSON ¶
func (x *ConfigSetRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ConfigSetRequest to JSON.
func (*ConfigSetRequest) MarshalProtoJSON ¶
func (x *ConfigSetRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ConfigSetRequest message to JSON.
func (*ConfigSetRequest) MarshalToSizedBufferVT ¶
func (m *ConfigSetRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ConfigSetRequest) MarshalToVT ¶
func (m *ConfigSetRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ConfigSetRequest) MarshalVT ¶
func (m *ConfigSetRequest) MarshalVT() (dAtA []byte, err error)
func (*ConfigSetRequest) ProtoMessage ¶
func (*ConfigSetRequest) ProtoMessage()
func (*ConfigSetRequest) Reset ¶
func (x *ConfigSetRequest) Reset()
func (*ConfigSetRequest) SizeVT ¶
func (m *ConfigSetRequest) SizeVT() (n int)
func (*ConfigSetRequest) UnmarshalJSON ¶
func (x *ConfigSetRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ConfigSetRequest from JSON.
func (*ConfigSetRequest) UnmarshalProtoJSON ¶
func (x *ConfigSetRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ConfigSetRequest message from JSON.
func (*ConfigSetRequest) UnmarshalVT ¶
func (m *ConfigSetRequest) UnmarshalVT(dAtA []byte) error
type ConfigSetResponse ¶
type ConfigSetResponse struct {
Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
// contains filtered or unexported fields
}
func (*ConfigSetResponse) CloneMessageVT ¶
func (m *ConfigSetResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ConfigSetResponse) CloneVT ¶
func (m *ConfigSetResponse) CloneVT() *ConfigSetResponse
func (*ConfigSetResponse) EqualMessageVT ¶
func (this *ConfigSetResponse) EqualMessageVT(thatMsg any) bool
func (*ConfigSetResponse) EqualVT ¶
func (this *ConfigSetResponse) EqualVT(that *ConfigSetResponse) bool
func (*ConfigSetResponse) GetConfig ¶
func (x *ConfigSetResponse) GetConfig() *Config
func (*ConfigSetResponse) MarshalJSON ¶
func (x *ConfigSetResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ConfigSetResponse to JSON.
func (*ConfigSetResponse) MarshalProtoJSON ¶
func (x *ConfigSetResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ConfigSetResponse message to JSON.
func (*ConfigSetResponse) MarshalToSizedBufferVT ¶
func (m *ConfigSetResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ConfigSetResponse) MarshalToVT ¶
func (m *ConfigSetResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ConfigSetResponse) MarshalVT ¶
func (m *ConfigSetResponse) MarshalVT() (dAtA []byte, err error)
func (*ConfigSetResponse) ProtoMessage ¶
func (*ConfigSetResponse) ProtoMessage()
func (*ConfigSetResponse) Reset ¶
func (x *ConfigSetResponse) Reset()
func (*ConfigSetResponse) SizeVT ¶
func (m *ConfigSetResponse) SizeVT() (n int)
func (*ConfigSetResponse) UnmarshalJSON ¶
func (x *ConfigSetResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ConfigSetResponse from JSON.
func (*ConfigSetResponse) UnmarshalProtoJSON ¶
func (x *ConfigSetResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ConfigSetResponse message from JSON.
func (*ConfigSetResponse) UnmarshalVT ¶
func (m *ConfigSetResponse) UnmarshalVT(dAtA []byte) error
type Config_GuestListCommandsEntry ¶
type Config_GuestListCommandsEntry struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value *GuestListCommand `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*Config_GuestListCommandsEntry) GetKey ¶
func (x *Config_GuestListCommandsEntry) GetKey() string
func (*Config_GuestListCommandsEntry) GetValue ¶
func (x *Config_GuestListCommandsEntry) GetValue() *GuestListCommand
func (*Config_GuestListCommandsEntry) MarshalJSON ¶
func (x *Config_GuestListCommandsEntry) MarshalJSON() ([]byte, error)
MarshalJSON marshals the Config_GuestListCommandsEntry to JSON.
func (*Config_GuestListCommandsEntry) MarshalProtoJSON ¶
func (x *Config_GuestListCommandsEntry) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Config_GuestListCommandsEntry message to JSON.
func (*Config_GuestListCommandsEntry) ProtoMessage ¶
func (*Config_GuestListCommandsEntry) ProtoMessage()
func (*Config_GuestListCommandsEntry) Reset ¶
func (x *Config_GuestListCommandsEntry) Reset()
func (*Config_GuestListCommandsEntry) UnmarshalJSON ¶
func (x *Config_GuestListCommandsEntry) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the Config_GuestListCommandsEntry from JSON.
func (*Config_GuestListCommandsEntry) UnmarshalProtoJSON ¶
func (x *Config_GuestListCommandsEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Config_GuestListCommandsEntry message from JSON.
type Config_GuestListsEntry ¶
type Config_GuestListsEntry struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value *GuestList `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*Config_GuestListsEntry) GetKey ¶
func (x *Config_GuestListsEntry) GetKey() string
func (*Config_GuestListsEntry) GetValue ¶
func (x *Config_GuestListsEntry) GetValue() *GuestList
func (*Config_GuestListsEntry) MarshalJSON ¶
func (x *Config_GuestListsEntry) MarshalJSON() ([]byte, error)
MarshalJSON marshals the Config_GuestListsEntry to JSON.
func (*Config_GuestListsEntry) MarshalProtoJSON ¶
func (x *Config_GuestListsEntry) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Config_GuestListsEntry message to JSON.
func (*Config_GuestListsEntry) ProtoMessage ¶
func (*Config_GuestListsEntry) ProtoMessage()
func (*Config_GuestListsEntry) Reset ¶
func (x *Config_GuestListsEntry) Reset()
func (*Config_GuestListsEntry) UnmarshalJSON ¶
func (x *Config_GuestListsEntry) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the Config_GuestListsEntry from JSON.
func (*Config_GuestListsEntry) UnmarshalProtoJSON ¶
func (x *Config_GuestListsEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Config_GuestListsEntry message from JSON.
type EventSettings ¶
type EventSettings struct {
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
// contains filtered or unexported fields
}
func (*EventSettings) CloneMessageVT ¶
func (m *EventSettings) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*EventSettings) CloneVT ¶
func (m *EventSettings) CloneVT() *EventSettings
func (*EventSettings) EqualMessageVT ¶
func (this *EventSettings) EqualMessageVT(thatMsg any) bool
func (*EventSettings) EqualVT ¶
func (this *EventSettings) EqualVT(that *EventSettings) bool
func (*EventSettings) GetEnabled ¶
func (x *EventSettings) GetEnabled() bool
func (*EventSettings) GetText ¶
func (x *EventSettings) GetText() string
func (*EventSettings) MarshalJSON ¶
func (x *EventSettings) MarshalJSON() ([]byte, error)
MarshalJSON marshals the EventSettings to JSON.
func (*EventSettings) MarshalProtoJSON ¶
func (x *EventSettings) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the EventSettings message to JSON.
func (*EventSettings) MarshalToSizedBufferVT ¶
func (m *EventSettings) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*EventSettings) MarshalToVT ¶
func (m *EventSettings) MarshalToVT(dAtA []byte) (int, error)
func (*EventSettings) MarshalVT ¶
func (m *EventSettings) MarshalVT() (dAtA []byte, err error)
func (*EventSettings) ProtoMessage ¶
func (*EventSettings) ProtoMessage()
func (*EventSettings) Reset ¶
func (x *EventSettings) Reset()
func (*EventSettings) SizeVT ¶
func (m *EventSettings) SizeVT() (n int)
func (*EventSettings) UnmarshalJSON ¶
func (x *EventSettings) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the EventSettings from JSON.
func (*EventSettings) UnmarshalProtoJSON ¶
func (x *EventSettings) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the EventSettings message from JSON.
func (*EventSettings) UnmarshalVT ¶
func (m *EventSettings) UnmarshalVT(dAtA []byte) error
type GuestList ¶
type GuestList struct {
Members []*GuestList_Member `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
// contains filtered or unexported fields
}
func (*GuestList) CloneMessageVT ¶
func (m *GuestList) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*GuestList) EqualMessageVT ¶
func (*GuestList) GetMembers ¶
func (x *GuestList) GetMembers() []*GuestList_Member
func (*GuestList) MarshalJSON ¶
MarshalJSON marshals the GuestList to JSON.
func (*GuestList) MarshalProtoJSON ¶
func (x *GuestList) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the GuestList message to JSON.
func (*GuestList) MarshalToSizedBufferVT ¶
func (*GuestList) ProtoMessage ¶
func (*GuestList) ProtoMessage()
func (*GuestList) UnmarshalJSON ¶
UnmarshalJSON unmarshals the GuestList from JSON.
func (*GuestList) UnmarshalProtoJSON ¶
func (x *GuestList) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the GuestList message from JSON.
func (*GuestList) UnmarshalVT ¶
type GuestListCommand ¶
type GuestListCommand struct {
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
GuestListNames []string `protobuf:"bytes,2,rep,name=guest_list_names,json=guestListNames,proto3" json:"guestListNames,omitempty"`
// contains filtered or unexported fields
}
func (*GuestListCommand) CloneMessageVT ¶
func (m *GuestListCommand) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*GuestListCommand) CloneVT ¶
func (m *GuestListCommand) CloneVT() *GuestListCommand
func (*GuestListCommand) EqualMessageVT ¶
func (this *GuestListCommand) EqualMessageVT(thatMsg any) bool
func (*GuestListCommand) EqualVT ¶
func (this *GuestListCommand) EqualVT(that *GuestListCommand) bool
func (*GuestListCommand) GetCommand ¶
func (x *GuestListCommand) GetCommand() string
func (*GuestListCommand) GetGuestListNames ¶
func (x *GuestListCommand) GetGuestListNames() []string
func (*GuestListCommand) MarshalJSON ¶
func (x *GuestListCommand) MarshalJSON() ([]byte, error)
MarshalJSON marshals the GuestListCommand to JSON.
func (*GuestListCommand) MarshalProtoJSON ¶
func (x *GuestListCommand) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the GuestListCommand message to JSON.
func (*GuestListCommand) MarshalToSizedBufferVT ¶
func (m *GuestListCommand) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GuestListCommand) MarshalToVT ¶
func (m *GuestListCommand) MarshalToVT(dAtA []byte) (int, error)
func (*GuestListCommand) MarshalVT ¶
func (m *GuestListCommand) MarshalVT() (dAtA []byte, err error)
func (*GuestListCommand) ProtoMessage ¶
func (*GuestListCommand) ProtoMessage()
func (*GuestListCommand) Reset ¶
func (x *GuestListCommand) Reset()
func (*GuestListCommand) SizeVT ¶
func (m *GuestListCommand) SizeVT() (n int)
func (*GuestListCommand) UnmarshalJSON ¶
func (x *GuestListCommand) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the GuestListCommand from JSON.
func (*GuestListCommand) UnmarshalProtoJSON ¶
func (x *GuestListCommand) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the GuestListCommand message from JSON.
func (*GuestListCommand) UnmarshalVT ¶
func (m *GuestListCommand) UnmarshalVT(dAtA []byte) error
type GuestList_Member ¶
type GuestList_Member struct {
Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GuestList_Member) CloneMessageVT ¶
func (m *GuestList_Member) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*GuestList_Member) CloneVT ¶
func (m *GuestList_Member) CloneVT() *GuestList_Member
func (*GuestList_Member) EqualMessageVT ¶
func (this *GuestList_Member) EqualMessageVT(thatMsg any) bool
func (*GuestList_Member) EqualVT ¶
func (this *GuestList_Member) EqualVT(that *GuestList_Member) bool
func (*GuestList_Member) GetId ¶
func (x *GuestList_Member) GetId() string
func (*GuestList_Member) GetLogin ¶
func (x *GuestList_Member) GetLogin() string
func (*GuestList_Member) MarshalJSON ¶
func (x *GuestList_Member) MarshalJSON() ([]byte, error)
MarshalJSON marshals the GuestList_Member to JSON.
func (*GuestList_Member) MarshalProtoJSON ¶
func (x *GuestList_Member) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the GuestList_Member message to JSON.
func (*GuestList_Member) MarshalToSizedBufferVT ¶
func (m *GuestList_Member) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GuestList_Member) MarshalToVT ¶
func (m *GuestList_Member) MarshalToVT(dAtA []byte) (int, error)
func (*GuestList_Member) MarshalVT ¶
func (m *GuestList_Member) MarshalVT() (dAtA []byte, err error)
func (*GuestList_Member) ProtoMessage ¶
func (*GuestList_Member) ProtoMessage()
func (*GuestList_Member) Reset ¶
func (x *GuestList_Member) Reset()
func (*GuestList_Member) SizeVT ¶
func (m *GuestList_Member) SizeVT() (n int)
func (*GuestList_Member) UnmarshalJSON ¶
func (x *GuestList_Member) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the GuestList_Member from JSON.
func (*GuestList_Member) UnmarshalProtoJSON ¶
func (x *GuestList_Member) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the GuestList_Member message from JSON.
func (*GuestList_Member) UnmarshalVT ¶
func (m *GuestList_Member) UnmarshalVT(dAtA []byte) error
type MessageTypeCommand ¶
type MessageTypeCommand int32
const ( MessageTypeCommand_CONFIG_SET_REQ MessageTypeCommand = 0 MessageTypeCommand_CONFIG_SET_RESP MessageTypeCommand = 1 )
func (MessageTypeCommand) Enum ¶
func (x MessageTypeCommand) Enum() *MessageTypeCommand
func (MessageTypeCommand) MarshalJSON ¶
func (x MessageTypeCommand) MarshalJSON() ([]byte, error)
MarshalJSON marshals the MessageTypeCommand to JSON.
func (MessageTypeCommand) MarshalProtoJSON ¶
func (x MessageTypeCommand) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the MessageTypeCommand to JSON.
func (MessageTypeCommand) MarshalText ¶
func (x MessageTypeCommand) MarshalText() ([]byte, error)
MarshalText marshals the MessageTypeCommand to text.
func (MessageTypeCommand) String ¶
func (x MessageTypeCommand) String() string
func (*MessageTypeCommand) UnmarshalJSON ¶
func (x *MessageTypeCommand) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the MessageTypeCommand from JSON.
func (*MessageTypeCommand) UnmarshalProtoJSON ¶
func (x *MessageTypeCommand) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the MessageTypeCommand from JSON.
func (*MessageTypeCommand) UnmarshalText ¶
func (x *MessageTypeCommand) UnmarshalText(b []byte) error
UnmarshalText unmarshals the MessageTypeCommand from text.
type MessageTypeRequest ¶
type MessageTypeRequest int32
const ( MessageTypeRequest_CONFIG_GET_REQ MessageTypeRequest = 0 MessageTypeRequest_CONFIG_GET_RESP MessageTypeRequest = 1 MessageTypeRequest_BANTER_RENDER_REQ MessageTypeRequest = 2 MessageTypeRequest_BANTER_RENDER_RESP MessageTypeRequest = 3 )
func (MessageTypeRequest) Enum ¶
func (x MessageTypeRequest) Enum() *MessageTypeRequest
func (MessageTypeRequest) MarshalJSON ¶
func (x MessageTypeRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the MessageTypeRequest to JSON.
func (MessageTypeRequest) MarshalProtoJSON ¶
func (x MessageTypeRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the MessageTypeRequest to JSON.
func (MessageTypeRequest) MarshalText ¶
func (x MessageTypeRequest) MarshalText() ([]byte, error)
MarshalText marshals the MessageTypeRequest to text.
func (MessageTypeRequest) String ¶
func (x MessageTypeRequest) String() string
func (*MessageTypeRequest) UnmarshalJSON ¶
func (x *MessageTypeRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the MessageTypeRequest from JSON.
func (*MessageTypeRequest) UnmarshalProtoJSON ¶
func (x *MessageTypeRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the MessageTypeRequest from JSON.
func (*MessageTypeRequest) UnmarshalText ¶
func (x *MessageTypeRequest) UnmarshalText(b []byte) error
UnmarshalText unmarshals the MessageTypeRequest from text.
type PB ¶
type PB interface {
protobuf_go_lite.Message
protobuf_go_lite.JSONMessage
}