banter

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package banter provides automation for Twitch chat.

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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) CloneVT

func (m *Banter) CloneVT() *Banter

func (*Banter) EqualMessageVT

func (this *Banter) EqualMessageVT(thatMsg any) bool

func (*Banter) EqualVT

func (this *Banter) EqualVT(that *Banter) bool

func (*Banter) GetCommand

func (x *Banter) GetCommand() string

func (*Banter) GetDisabled

func (x *Banter) GetDisabled() bool

func (*Banter) GetId

func (x *Banter) GetId() int32

func (*Banter) GetRandom

func (x *Banter) GetRandom() bool

func (*Banter) GetText

func (x *Banter) GetText() string

func (*Banter) MarshalJSON

func (x *Banter) MarshalJSON() ([]byte, error)

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 (m *Banter) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Banter) MarshalToVT

func (m *Banter) MarshalToVT(dAtA []byte) (int, error)

func (*Banter) MarshalVT

func (m *Banter) MarshalVT() (dAtA []byte, err error)

func (*Banter) ProtoMessage

func (*Banter) ProtoMessage()

func (*Banter) Reset

func (x *Banter) Reset()

func (*Banter) SizeVT

func (m *Banter) SizeVT() (n int)

func (*Banter) UnmarshalJSON

func (x *Banter) UnmarshalJSON(b []byte) error

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

func (m *Banter) UnmarshalVT(dAtA []byte) error

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 (*BanterRenderRequest) CloneVT

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 (*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 (*BanterRenderResponse) CloneVT

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 New

func New() (*Banterer, error)

Start banter

func (*Banterer) Handle

func (bb *Banterer) Handle(msg *bus.BusMessage)

type BusTopic

type BusTopic int32
const (
	BusTopic_BANTER_EVENT   BusTopic = 0
	BusTopic_BANTER_REQUEST BusTopic = 1
	BusTopic_BANTER_COMMAND BusTopic = 2
)

func (BusTopic) Enum

func (x BusTopic) Enum() *BusTopic

func (BusTopic) MarshalJSON

func (x BusTopic) MarshalJSON() ([]byte, error)

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

func (x BusTopic) MarshalText() ([]byte, error)

MarshalText marshals the BusTopic to text.

func (BusTopic) String

func (x BusTopic) String() string

func (*BusTopic) UnmarshalJSON

func (x *BusTopic) UnmarshalJSON(b []byte) error

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

func (x *BusTopic) UnmarshalText(b []byte) error

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) CloneVT

func (m *Config) CloneVT() *Config

func (*Config) EqualMessageVT

func (this *Config) EqualMessageVT(thatMsg any) bool

func (*Config) EqualVT

func (this *Config) EqualVT(that *Config) bool

func (*Config) GetBanters

func (x *Config) GetBanters() []*Banter

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 (x *Config) GetCooldownSeconds() uint32

func (*Config) GetGuestListCommands

func (x *Config) GetGuestListCommands() map[string]*GuestListCommand

func (*Config) GetGuestLists

func (x *Config) GetGuestLists() map[string]*GuestList

func (*Config) GetIntervalSeconds

func (x *Config) GetIntervalSeconds() uint32

func (*Config) GetSendAs

func (x *Config) GetSendAs() string

func (*Config) GetSendTo

func (x *Config) GetSendTo() string

func (*Config) MarshalJSON

func (x *Config) MarshalJSON() ([]byte, error)

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 (m *Config) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Config) MarshalToVT

func (m *Config) MarshalToVT(dAtA []byte) (int, error)

func (*Config) MarshalVT

func (m *Config) MarshalVT() (dAtA []byte, err error)

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (x *Config) Reset()

func (*Config) SizeVT

func (m *Config) SizeVT() (n int)

func (*Config) UnmarshalJSON

func (x *Config) UnmarshalJSON(b []byte) error

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

func (m *Config) UnmarshalVT(dAtA []byte) error

func (*Config) Validate

func (cfg *Config) Validate() error

Validate Banter's config

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 (*Config_GuestListCommandsEntry) GetValue

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) CloneVT

func (m *GuestList) CloneVT() *GuestList

func (*GuestList) EqualMessageVT

func (this *GuestList) EqualMessageVT(thatMsg any) bool

func (*GuestList) EqualVT

func (this *GuestList) EqualVT(that *GuestList) bool

func (*GuestList) GetMembers

func (x *GuestList) GetMembers() []*GuestList_Member

func (*GuestList) MarshalJSON

func (x *GuestList) MarshalJSON() ([]byte, error)

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 (m *GuestList) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GuestList) MarshalToVT

func (m *GuestList) MarshalToVT(dAtA []byte) (int, error)

func (*GuestList) MarshalVT

func (m *GuestList) MarshalVT() (dAtA []byte, err error)

func (*GuestList) ProtoMessage

func (*GuestList) ProtoMessage()

func (*GuestList) Reset

func (x *GuestList) Reset()

func (*GuestList) SizeVT

func (m *GuestList) SizeVT() (n int)

func (*GuestList) UnmarshalJSON

func (x *GuestList) UnmarshalJSON(b []byte) error

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

func (m *GuestList) UnmarshalVT(dAtA []byte) error

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 (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 (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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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