structures

package
v0.0.0-...-a65505b Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedeemEvent

type RedeemEvent struct {
	ID         primitive.ObjectID `json:"-" bson:"_id,omitempty"`
	TwitchID   string             `json:"-" bson:"twitch_id"`
	RewardID   string             `json:"-" bson:"reward_id"`
	RewardName string             `json:"-" bson:"reward_name"`
	UserID     string             `json:"user_id" bson:"user_id"`
	UserName   string             `json:"-" bson:"user_name"`
	Cost       int32              `json:"cost" bson:"cost"`
	RedeemedAt time.Time          `json:"redeemed_at" bson:"redeemed_at"`
}

type WebHook

type WebHook struct {
	ID        primitive.ObjectID `json:"id" bson:"_id,omitempty"`
	TwitchID  string             `json:"twitch_id" bson:"twitch_id"`
	UserID    string             `json:"user_id" bson:"user_id"`
	CreatedAt time.Time          `json:"created_at" bson:"created_at"`
}

Jump to

Keyboard shortcuts

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