v1

package
v1.3.30 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NoticeType_name = map[int32]string{
		0: "DINGTALK",
		1: "WECHAT",
		2: "EMAIL",
		3: "SMS",
		4: "VOICE",
	}
	NoticeType_value = map[string]int32{
		"DINGTALK": 0,
		"WECHAT":   1,
		"EMAIL":    2,
		"SMS":      3,
		"VOICE":    4,
	}
)

Enum value maps for NoticeType.

View Source
var File_pkg_v1_pkg_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type NoticeType

type NoticeType int32

定义 NoticeType 枚举

const (
	NoticeType_DINGTALK NoticeType = 0
	NoticeType_WECHAT   NoticeType = 1
	NoticeType_EMAIL    NoticeType = 2
	NoticeType_SMS      NoticeType = 3
	NoticeType_VOICE    NoticeType = 4
)

func (NoticeType) Descriptor

func (NoticeType) Descriptor() protoreflect.EnumDescriptor

func (NoticeType) Enum

func (x NoticeType) Enum() *NoticeType

func (NoticeType) EnumDescriptor deprecated

func (NoticeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use NoticeType.Descriptor instead.

func (NoticeType) Number

func (x NoticeType) Number() protoreflect.EnumNumber

func (NoticeType) String

func (x NoticeType) String() string

func (NoticeType) Type

type RankData

type RankData struct {
	Id       int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Score    int64 `protobuf:"varint,2,opt,name=score,proto3" json:"score,omitempty"`
	Rank     int32 `protobuf:"varint,3,opt,name=rank,proto3" json:"rank,omitempty"`
	UpdateTs int64 `protobuf:"varint,4,opt,name=update_ts,json=updateTs,proto3" json:"update_ts,omitempty"`
	// contains filtered or unexported fields
}

排行榜数据

func (*RankData) Descriptor deprecated

func (*RankData) Descriptor() ([]byte, []int)

Deprecated: Use RankData.ProtoReflect.Descriptor instead.

func (*RankData) GetId

func (x *RankData) GetId() int64

func (*RankData) GetRank

func (x *RankData) GetRank() int32

func (*RankData) GetScore

func (x *RankData) GetScore() int64

func (*RankData) GetUpdateTs

func (x *RankData) GetUpdateTs() int64

func (*RankData) ProtoMessage

func (*RankData) ProtoMessage()

func (*RankData) ProtoReflect

func (x *RankData) ProtoReflect() protoreflect.Message

func (*RankData) Reset

func (x *RankData) Reset()

func (*RankData) String

func (x *RankData) String() string

Jump to

Keyboard shortcuts

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