Documentation
¶
Index ¶
- Variables
- type Broadcast
- type ChannelCount
- type ChannelMessage
- func (c *ChannelMessage) GetChannelId() string
- func (c *ChannelMessage) GetFromSession() string
- func (c *ChannelMessage) GetMessage() string
- func (c *ChannelMessage) GetMetadata() map[string]any
- func (c *ChannelMessage) GetOffset() int64
- func (c *ChannelMessage) GetRoleIndicator() omega.Role
- func (c *ChannelMessage) GetSkill() *omega.Skill
- func (c *ChannelMessage) GetSubject() string
- func (c *ChannelMessage) GetSubjectName() string
- type ChannelOwnerMessage
- func (c *ChannelOwnerMessage) GetChannelId() string
- func (c *ChannelOwnerMessage) GetFromSession() string
- func (c *ChannelOwnerMessage) GetMessage() string
- func (c *ChannelOwnerMessage) GetMetadata() map[string]any
- func (c *ChannelOwnerMessage) GetOffset() int64
- func (c *ChannelOwnerMessage) GetSkill() *omega.Skill
- func (c *ChannelOwnerMessage) GetSubject() string
- func (c *ChannelOwnerMessage) GetSubjectName() string
- type CloseChannel
- type CloseVote
- type GetChannelMeta
- type GetSessionMeta
- type GetVoteMeta
- type Hello
- type JoinChannel
- func (c *JoinChannel) GetChannelId() string
- func (c *JoinChannel) GetChannelMetadata() map[string]any
- func (c *JoinChannel) GetName() string
- func (c *JoinChannel) GetOffset() int64
- func (c *JoinChannel) GetRole() string
- func (c *JoinChannel) GetRoleIndicator() omega.Role
- func (c *JoinChannel) GetSessionId() string
- func (c *JoinChannel) GetSessionMetadata() map[string]any
- func (c *JoinChannel) GetSkill() *omega.Skill
- func (c *JoinChannel) GetSubject() string
- func (c *JoinChannel) GetSubjectName() string
- type JoinVote
- func (x *JoinVote) GetCreatedAt() int64
- func (x *JoinVote) GetKey() string
- func (x *JoinVote) GetName() string
- func (x *JoinVote) GetSessionId() string
- func (x *JoinVote) GetSessionMetadata() map[string]any
- func (x *JoinVote) GetVoteId() string
- func (x *JoinVote) GetVoteMetadata() map[string]any
- func (x *JoinVote) GetVoteOptions() []*omega.Vote_Option
- type LeaveChannel
- type LeaveVote
- type Ping
- type PlaybackChannelMessage
- type Pong
- type ReplayChannelMessage
- type ServerTime
- type SessionMessage
- type SetChannelMeta
- type SetSessionMeta
- type SetVoteMeta
- type TransitFrame
- type VoteCount
- type VoteMessage
- type VoteOwnerMessage
- type VoteSelect
- type VoteStatus
Constants ¶
This section is empty.
Variables ¶
View Source
var TransitMessageIdCodec = &omega.TransitMessageIDCodec{}
Functions ¶
This section is empty.
Types ¶
type ChannelCount ¶
type ChannelCount struct {
TransitFrame
}
func (*ChannelCount) GetChannelId ¶
func (c *ChannelCount) GetChannelId() string
func (*ChannelCount) GetCount ¶
func (c *ChannelCount) GetCount() int32
func (*ChannelCount) GetOffset ¶ added in v1.1.3
func (c *ChannelCount) GetOffset() int64
func (*ChannelCount) GetOwnerCount ¶
func (c *ChannelCount) GetOwnerCount() int32
func (*ChannelCount) GetParticipatorCount ¶
func (c *ChannelCount) GetParticipatorCount() int32
type ChannelMessage ¶
type ChannelMessage struct {
TransitFrame
}
func (*ChannelMessage) GetChannelId ¶
func (c *ChannelMessage) GetChannelId() string
func (*ChannelMessage) GetFromSession ¶
func (c *ChannelMessage) GetFromSession() string
func (*ChannelMessage) GetMessage ¶
func (c *ChannelMessage) GetMessage() string
func (*ChannelMessage) GetMetadata ¶
func (c *ChannelMessage) GetMetadata() map[string]any
func (*ChannelMessage) GetOffset ¶
func (c *ChannelMessage) GetOffset() int64
func (*ChannelMessage) GetRoleIndicator ¶
func (c *ChannelMessage) GetRoleIndicator() omega.Role
func (*ChannelMessage) GetSkill ¶
func (c *ChannelMessage) GetSkill() *omega.Skill
func (*ChannelMessage) GetSubject ¶
func (c *ChannelMessage) GetSubject() string
func (*ChannelMessage) GetSubjectName ¶
func (c *ChannelMessage) GetSubjectName() string
type ChannelOwnerMessage ¶
type ChannelOwnerMessage struct {
TransitFrame
}
func (*ChannelOwnerMessage) GetChannelId ¶
func (c *ChannelOwnerMessage) GetChannelId() string
func (*ChannelOwnerMessage) GetFromSession ¶
func (c *ChannelOwnerMessage) GetFromSession() string
func (*ChannelOwnerMessage) GetMessage ¶
func (c *ChannelOwnerMessage) GetMessage() string
func (*ChannelOwnerMessage) GetMetadata ¶
func (c *ChannelOwnerMessage) GetMetadata() map[string]any
func (*ChannelOwnerMessage) GetOffset ¶
func (c *ChannelOwnerMessage) GetOffset() int64
func (*ChannelOwnerMessage) GetSkill ¶
func (c *ChannelOwnerMessage) GetSkill() *omega.Skill
func (*ChannelOwnerMessage) GetSubject ¶
func (c *ChannelOwnerMessage) GetSubject() string
func (*ChannelOwnerMessage) GetSubjectName ¶
func (c *ChannelOwnerMessage) GetSubjectName() string
type CloseChannel ¶
type CloseChannel struct {
TransitFrame
}
func (*CloseChannel) GetChannelId ¶
func (c *CloseChannel) GetChannelId() string
func (*CloseChannel) GetOffset ¶
func (c *CloseChannel) GetOffset() int64
type CloseVote ¶
type CloseVote struct {
TransitFrame
}
type GetChannelMeta ¶
type GetChannelMeta struct {
TransitFrame
}
func (*GetChannelMeta) GetChannelId ¶
func (c *GetChannelMeta) GetChannelId() string
func (*GetChannelMeta) GetCreatedAt ¶
func (c *GetChannelMeta) GetCreatedAt() int64
func (*GetChannelMeta) GetData ¶
func (c *GetChannelMeta) GetData() map[string]any
func (*GetChannelMeta) GetName ¶
func (c *GetChannelMeta) GetName() string
func (*GetChannelMeta) GetOffset ¶
func (c *GetChannelMeta) GetOffset() int64
func (*GetChannelMeta) GetSkill ¶
func (c *GetChannelMeta) GetSkill() *omega.Skill
type GetSessionMeta ¶
type GetSessionMeta struct {
TransitFrame
}
func (*GetSessionMeta) GetData ¶
func (c *GetSessionMeta) GetData() map[string]any
func (*GetSessionMeta) GetName ¶
func (c *GetSessionMeta) GetName() string
func (*GetSessionMeta) GetSessionId ¶
func (c *GetSessionMeta) GetSessionId() string
func (*GetSessionMeta) GetSubject ¶
func (c *GetSessionMeta) GetSubject() string
type GetVoteMeta ¶
type GetVoteMeta struct {
TransitFrame
}
func (*GetVoteMeta) GetCreatedAt ¶
func (x *GetVoteMeta) GetCreatedAt() int64
func (*GetVoteMeta) GetData ¶
func (x *GetVoteMeta) GetData() map[string]any
func (*GetVoteMeta) GetName ¶
func (x *GetVoteMeta) GetName() string
func (*GetVoteMeta) GetVoteId ¶
func (x *GetVoteMeta) GetVoteId() string
func (*GetVoteMeta) GetVoteOptions ¶
func (x *GetVoteMeta) GetVoteOptions() []*omega.Vote_Option
type Hello ¶
type Hello struct {
TransitFrame
}
func (*Hello) GetSessionId ¶
func (*Hello) GetSubject ¶
func (*Hello) GetSubjectName ¶
type JoinChannel ¶
type JoinChannel struct {
TransitFrame
}
func (*JoinChannel) GetChannelId ¶ added in v1.1.3
func (c *JoinChannel) GetChannelId() string
func (*JoinChannel) GetChannelMetadata ¶ added in v1.1.3
func (c *JoinChannel) GetChannelMetadata() map[string]any
func (*JoinChannel) GetName ¶
func (c *JoinChannel) GetName() string
func (*JoinChannel) GetOffset ¶ added in v1.1.3
func (c *JoinChannel) GetOffset() int64
func (*JoinChannel) GetRole ¶
func (c *JoinChannel) GetRole() string
func (*JoinChannel) GetRoleIndicator ¶
func (c *JoinChannel) GetRoleIndicator() omega.Role
func (*JoinChannel) GetSessionId ¶
func (c *JoinChannel) GetSessionId() string
func (*JoinChannel) GetSessionMetadata ¶
func (c *JoinChannel) GetSessionMetadata() map[string]any
func (*JoinChannel) GetSkill ¶
func (c *JoinChannel) GetSkill() *omega.Skill
func (*JoinChannel) GetSubject ¶
func (c *JoinChannel) GetSubject() string
func (*JoinChannel) GetSubjectName ¶
func (c *JoinChannel) GetSubjectName() string
type JoinVote ¶
type JoinVote struct {
TransitFrame
}
func (*JoinVote) GetCreatedAt ¶
func (*JoinVote) GetSessionId ¶
func (*JoinVote) GetSessionMetadata ¶
func (*JoinVote) GetVoteMetadata ¶
func (*JoinVote) GetVoteOptions ¶
func (x *JoinVote) GetVoteOptions() []*omega.Vote_Option
type LeaveChannel ¶
type LeaveChannel struct {
TransitFrame
}
func (*LeaveChannel) GetChannelId ¶
func (c *LeaveChannel) GetChannelId() string
func (*LeaveChannel) GetOffset ¶
func (c *LeaveChannel) GetOffset() int64
func (*LeaveChannel) GetSessionId ¶
func (c *LeaveChannel) GetSessionId() string
type Ping ¶ added in v1.1.4
type Ping struct {
TransitFrame
}
type PlaybackChannelMessage ¶ added in v1.1.5
type PlaybackChannelMessage struct {
TransitFrame
}
func (*PlaybackChannelMessage) GetChannelId ¶ added in v1.1.5
func (c *PlaybackChannelMessage) GetChannelId() string
func (*PlaybackChannelMessage) GetCount ¶ added in v1.1.5
func (c *PlaybackChannelMessage) GetCount() int32
func (*PlaybackChannelMessage) GetInverse ¶ added in v1.1.5
func (c *PlaybackChannelMessage) GetInverse() bool
func (*PlaybackChannelMessage) GetNextId ¶ added in v1.1.5
func (c *PlaybackChannelMessage) GetNextId() string
func (*PlaybackChannelMessage) GetVolume ¶ added in v1.1.5
func (c *PlaybackChannelMessage) GetVolume() omega.Volume
type Pong ¶ added in v1.1.4
type Pong struct {
TransitFrame
}
type ReplayChannelMessage ¶ added in v1.1.5
type ReplayChannelMessage struct {
TransitFrame
}
func (*ReplayChannelMessage) GetChannelId ¶ added in v1.1.5
func (c *ReplayChannelMessage) GetChannelId() string
func (*ReplayChannelMessage) GetCount ¶ added in v1.1.5
func (c *ReplayChannelMessage) GetCount() int32
func (*ReplayChannelMessage) GetInverse ¶ added in v1.1.5
func (c *ReplayChannelMessage) GetInverse() bool
func (*ReplayChannelMessage) GetNextId ¶ added in v1.1.5
func (c *ReplayChannelMessage) GetNextId() string
func (*ReplayChannelMessage) GetVolume ¶ added in v1.1.5
func (c *ReplayChannelMessage) GetVolume() omega.Volume
type ServerTime ¶
type ServerTime struct {
TransitFrame
}
func (*ServerTime) GetUnixNano ¶
func (c *ServerTime) GetUnixNano() int64
func (*ServerTime) GetUnixTimestamp ¶
func (c *ServerTime) GetUnixTimestamp() int64
type SessionMessage ¶
type SessionMessage struct {
TransitFrame
}
func (*SessionMessage) GetFromSession ¶
func (c *SessionMessage) GetFromSession() string
func (*SessionMessage) GetMessage ¶
func (c *SessionMessage) GetMessage() string
func (*SessionMessage) GetSequential ¶
func (c *SessionMessage) GetSequential() bool
func (*SessionMessage) GetToSession ¶
func (c *SessionMessage) GetToSession() string
type SetChannelMeta ¶
type SetChannelMeta struct {
TransitFrame
}
func (*SetChannelMeta) GetChannelId ¶
func (c *SetChannelMeta) GetChannelId() string
func (*SetChannelMeta) GetData ¶
func (c *SetChannelMeta) GetData() map[string]any
func (*SetChannelMeta) GetName ¶
func (c *SetChannelMeta) GetName() string
func (*SetChannelMeta) GetOffset ¶
func (c *SetChannelMeta) GetOffset() int64
func (*SetChannelMeta) GetSkill ¶
func (c *SetChannelMeta) GetSkill() *omega.Skill
type SetSessionMeta ¶
type SetSessionMeta struct {
TransitFrame
}
func (*SetSessionMeta) GetData ¶
func (c *SetSessionMeta) GetData() map[string]any
func (*SetSessionMeta) GetName ¶
func (c *SetSessionMeta) GetName() string
func (*SetSessionMeta) GetSessionId ¶
func (c *SetSessionMeta) GetSessionId() string
type SetVoteMeta ¶
type SetVoteMeta struct {
TransitFrame
}
func (*SetVoteMeta) GetData ¶
func (x *SetVoteMeta) GetData() map[string]any
func (*SetVoteMeta) GetName ¶
func (x *SetVoteMeta) GetName() string
func (*SetVoteMeta) GetVoteId ¶
func (x *SetVoteMeta) GetVoteId() string
type TransitFrame ¶
type TransitFrame interface { GetTransitId() uint64 GetClass() omega.TransitFrame_FrameClass GetVersion() omega.TransitFrame_Version GetTimestamp() int64 GetErr() *omega.Error GetMessageId() string GetRefererMessageId() string BaseTransitFrame() *omega.TransitFrame ProtoMessage() *omega.TransitFrame TypeName() string }
func WrapTransitFrame ¶
func WrapTransitFrame(btf *omega.TransitFrame) (msg TransitFrame)
type VoteCount ¶
type VoteCount struct {
TransitFrame
}
func (*VoteCount) GetVoteOptions ¶
func (x *VoteCount) GetVoteOptions() []*omega.Vote_Option
type VoteMessage ¶
type VoteMessage struct {
TransitFrame
}
func (*VoteMessage) GetFromSession ¶
func (x *VoteMessage) GetFromSession() string
func (*VoteMessage) GetMessage ¶
func (x *VoteMessage) GetMessage() string
func (*VoteMessage) GetRoleIndicator ¶
func (x *VoteMessage) GetRoleIndicator() omega.Role
func (*VoteMessage) GetSequential ¶
func (x *VoteMessage) GetSequential() bool
func (*VoteMessage) GetSubject ¶
func (x *VoteMessage) GetSubject() string
func (*VoteMessage) GetVoteId ¶
func (x *VoteMessage) GetVoteId() string
type VoteOwnerMessage ¶
type VoteOwnerMessage struct {
TransitFrame
}
func (*VoteOwnerMessage) GetMessage ¶
func (x *VoteOwnerMessage) GetMessage() string
func (*VoteOwnerMessage) GetSequential ¶
func (x *VoteOwnerMessage) GetSequential() bool
func (*VoteOwnerMessage) GetVoteId ¶
func (x *VoteOwnerMessage) GetVoteId() string
type VoteSelect ¶
type VoteSelect struct {
TransitFrame
}
func (*VoteSelect) GetDeny ¶
func (x *VoteSelect) GetDeny() bool
func (*VoteSelect) GetSessionId ¶
func (x *VoteSelect) GetSessionId() string
func (*VoteSelect) GetSubject ¶
func (x *VoteSelect) GetSubject() string
func (*VoteSelect) GetVoteId ¶
func (x *VoteSelect) GetVoteId() string
func (*VoteSelect) GetVoteOptionId ¶
func (x *VoteSelect) GetVoteOptionId() string
type VoteStatus ¶
type VoteStatus struct {
TransitFrame
}
func (*VoteStatus) GetStatus ¶
func (x *VoteStatus) GetStatus() omega.Vote_Status
func (*VoteStatus) GetVoteId ¶
func (x *VoteStatus) GetVoteId() string
Source Files
¶
- broadcast.go
- channelCount.go
- channelMessage.go
- channelOwnerMessage.go
- closeChannel.go
- closeVote.go
- getChannelMeta.go
- getSessionMeta.go
- getVoteMeta.go
- hello.go
- joinChannel.go
- joinVote.go
- leaveChannel.go
- leaveVote.go
- ping.go
- playbackChannelMessage.go
- pong.go
- replayChannelMessage.go
- serverTime.go
- sessionMessage.go
- setChannelMeta.go
- setSessionMeta.go
- setVoteMeta.go
- transitframe.go
- voteCount.go
- voteMessage.go
- voteOwnerMessage.go
- voteSelect.go
- voteStatus.go
Click to show internal directories.
Click to hide internal directories.