pb

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File___example_pb_user_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type User

type User struct {
	ID        int64   `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Nick      string  `protobuf:"bytes,2,opt,name=nick,proto3" json:"nick,omitempty"`
	UpdatedAt int64   `protobuf:"varint,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	Private   string  `protobuf:"bytes,4,opt,name=private,proto3" json:"private,omitempty"`
	Enabled   bool    `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Balance   float64 `protobuf:"fixed64,6,opt,name=balance,proto3" json:"balance,omitempty"`
	Total     string  `protobuf:"bytes,7,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

User message.

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetBalance added in v0.0.3

func (x *User) GetBalance() float64

func (*User) GetEnabled added in v0.0.2

func (x *User) GetEnabled() bool

func (*User) GetID

func (x *User) GetID() int64

func (*User) GetNick

func (x *User) GetNick() string

func (*User) GetPrivate added in v0.0.2

func (x *User) GetPrivate() string

func (*User) GetTotal added in v0.0.3

func (x *User) GetTotal() string

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() int64

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Jump to

Keyboard shortcuts

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