Documentation ¶
Index ¶
- Constants
- func GetLotteryDuration(ctx context.Context, lottery uint64) (duration *pb.LotteryDuration)
- func GetLotteryTimes(ctx context.Context, lottery uint64) (times *pb.LotteryTimes)
- func GetRate(ctx context.Context, id uint64) *pb.LotteryRates
- func SetupRouter(_ *gin.RouterGroup, authGroup *gin.RouterGroup)
Constants ¶
View Source
const RATE_DENOMINATOR = 1000000
Variables ¶
This section is empty.
Functions ¶
func GetLotteryDuration ¶
func GetLotteryDuration(ctx context.Context, lottery uint64) (duration *pb.LotteryDuration)
func GetLotteryTimes ¶
func GetLotteryTimes(ctx context.Context, lottery uint64) (times *pb.LotteryTimes)
func SetupRouter ¶
func SetupRouter(_ *gin.RouterGroup, authGroup *gin.RouterGroup)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.