Documentation
¶
Index ¶
- Constants
- type Bus
- type DotaSessionChangeMessage
- type ErrPublishTimeout
- type ErrSubscriptionExpired
- type GCDispatcherReceivedMessage
- type GCDispatcherSendMessage
- type LiveMatchStatsChangeMessage
- type LiveMatchesChangeMessage
- type Message
- type Options
- type SteamEventMessage
- type SteamSessionChangeMessage
- type Subscription
Constants ¶
View Source
const ( TopicSteamEvents = "steam.events" TopicSession = "session" TopicSessionSteam = "session.steam" TopicSessionDota = "session.dota" TopicLiveMatchesReplace = "live_matches.replace" TopicLiveMatchesAdd = "live_matches.add" TopicLiveMatchesUpdate = "live_matches.update" TopicLiveMatchesRemove = "live_matches.remove" TopicPatternLiveMatchesAll = "live_matches.*" TopicLiveMatchStatsAdd = "live_match_stats.add" TopicPatternLiveMatchStatsAll = "live_match_stats.*" TopicGCDispatcherSend = "gc.dispatcher.send" TopicGCDispatcherReceivedMatchesMinimalResponse = "gc.dispatcher.received.matches_minimal_response" TopicGCDispatcherReceivedFindTopSourceTVGamesResponse = "gc.dispatcher.received.find_top_source_tv_games_response" TopicWebLiveMatchesReplace = "web.live_matches.replace" TopicWebLiveMatchesAdd = "web.live_matches.add" TopicWebLiveMatchesUpdate = "web.live_matches.update" TopicWebLiveMatchesRemove = "web.live_matches.remove" TopicWebPatternLiveMatchesAll = "web.live_matches.*" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bus ¶
func (*Bus) Sub ¶
func (b *Bus) Sub(topic string) *Subscription
func (*Bus) Unsub ¶
func (b *Bus) Unsub(subs ...*Subscription)
type DotaSessionChangeMessage ¶
type DotaSessionChangeMessage struct { *nsdota2.StateTransition IsReady bool Err error }
type ErrPublishTimeout ¶
func (*ErrPublishTimeout) Error ¶
func (*ErrPublishTimeout) Error() string
type ErrSubscriptionExpired ¶
type ErrSubscriptionExpired struct {
Subscription *Subscription
}
func (*ErrSubscriptionExpired) Error ¶
func (*ErrSubscriptionExpired) Error() string
type GCDispatcherReceivedMessage ¶
type GCDispatcherReceivedMessage struct { MsgType d2pb.EDOTAGCMsg Message proto.Message }
type GCDispatcherSendMessage ¶
type GCDispatcherSendMessage struct { MsgType d2pb.EDOTAGCMsg Message proto.Message }
type LiveMatchStatsChangeMessage ¶
type LiveMatchStatsChangeMessage struct { Op nspb.CollectionOp Stats nscol.LiveMatchStats }
type LiveMatchesChangeMessage ¶
type LiveMatchesChangeMessage struct { Op nspb.CollectionOp Matches nscol.LiveMatches MatchIDs nscol.MatchIDs }
type SteamEventMessage ¶
type SteamEventMessage struct {
Event interface{}
}
type SteamSessionChangeMessage ¶
type SteamSessionChangeMessage struct { *nssteam.StateTransition IsReady bool Err error }
type Subscription ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.