Documentation
¶
Index ¶
- func CreatePubsubClientOrDie() *google_pubsub.Client
- func ParseGuildReportsEvent(e event.Event) (int64, error)
- func ParseRecentCharacterReportsEvent(e event.Event) (int32, error)
- func ParseReportEvent(e event.Event) (string, error)
- func ParseUserReportsEvent(e event.Event) (int32, error)
- func PublishCoraiderAccountClaimEvents(pubsubClient *google_pubsub.Client, ctx context.Context, claimedPlayerId int64, ...) error
- func PublishGuildReportsEvent(pubsubClient *google_pubsub.Client, ctx context.Context, guildId int32) error
- func PublishPlayerReportEvents(pubsubClient *google_pubsub.Client, ctx context.Context, reportCode string, ...) error
- func PublishRecentCharacterReportsEvent(pubsubClient *google_pubsub.Client, ctx context.Context, userId int32) error
- func PublishReportAccountClaimEvents(pubsubClient *google_pubsub.Client, ctx context.Context, claimedPlayerId int64, ...) error
- func PublishReportEvents(pubsubClient *google_pubsub.Client, ctx context.Context, reports []string) error
- func PublishUserReportsEvent(pubsubClient *google_pubsub.Client, ctx context.Context, userId int32) error
- type CoraiderAccountClaimEvent
- type MessagePublishedData
- type PlayerReportEvent
- type ReportAccountClaimEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePubsubClientOrDie ¶
func CreatePubsubClientOrDie() *google_pubsub.Client
func PublishReportEvents ¶
func PublishUserReportsEvent ¶
Types ¶
type CoraiderAccountClaimEvent ¶
type CoraiderAccountClaimEvent struct { PlayerId int64 ClaimedPlayerId int64 ClaimedAccountName string }
func ParseCoraiderAccountClaimEvent ¶
func ParseCoraiderAccountClaimEvent(e event.Event) (CoraiderAccountClaimEvent, error)
type MessagePublishedData ¶
type MessagePublishedData struct {
Message google_pubsub.Message
}
type PlayerReportEvent ¶
func ParsePlayerReportEvent ¶
func ParsePlayerReportEvent(e event.Event) (PlayerReportEvent, error)
type ReportAccountClaimEvent ¶
type ReportAccountClaimEvent struct { ReportCode string ClaimedPlayerId int64 ClaimedAccountName string }
func ParseReportAccountClaimEvent ¶
func ParseReportAccountClaimEvent(e event.Event) (ReportAccountClaimEvent, error)
Click to show internal directories.
Click to hide internal directories.