apis

package
v0.0.0-...-ec384b9 Latest Latest
Warning

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

Go to latest
Published: May 27, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(server Server) error

Types

type Date

type Date struct {
	Day   int `json:"day,omitempty"`
	Month int `json:"month,omitempty"`
	Year  int `json:"year,omitempty"`
}

type Server

type Server struct {
	*logrus.Logger
	*lsdb.Client
	Addr string
}

type Winners

type Winners struct {
	UserID    string `json:"user_id"`
	EventUID  string `json:"event_id"`
	AmountWon int    `json:"amountWon"`
	WinType   string `json:"winType"`
}

func InitializeWinnersInfo

func InitializeWinnersInfo(eventWinnerInfo []lsdb.WinnerInfo, eventParticipantInfo []lsdb.EventParticipantInfo) []Winners

Jump to

Keyboard shortcuts

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