Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { ID string `json:"id"` StartDate time.Time `json:"start_date"` EndDate time.Time `json:"end_date"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Status Status `json:"status"` PlayerID string `json:"player_id"` MonsterID string `json:"monster_id"` RoomID string `json:"room_id"` }
type Redis ¶
type Redis struct {
// contains filtered or unexported fields
}
func NewRedis ¶
func NewRedis(cfg *RedisConfig) (*Redis, error)
type RedisConfig ¶
type RedisConfig struct {
Client redis.UniversalClient
}
type Repository ¶
Click to show internal directories.
Click to hide internal directories.