card

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContestRanking added in v0.6.0

func ContestRanking(name string, data *models.UserContestRankingInfo) ([]byte, error)

func QuestionProcess added in v0.6.0

func QuestionProcess(name string, data *models.UserQuestionPrecess) ([]byte, error)

Types

type ContestRankingInfo added in v0.6.0

type ContestRankingInfo struct {
	Name          string
	Rating        string
	LocalRanking  string
	GlobalRanking string

	LocalTotal  string
	GlobalTotal string

	Top string
}

type QuestionProcessInfo added in v0.6.0

type QuestionProcessInfo struct {
	Name string
	// 长度
	BaseLen   int
	EasyLen   int
	MediumLen int
	HardLen   int

	// 数量
	EasyNum     string
	EasyTotal   int
	MediumNum   string
	MediumTotal int
	HardNum     string
	HardTotal   int

	AcceptNum int
}

Jump to

Keyboard shortcuts

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