proto

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTestDo        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTestDo          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTestDo = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type ClassesDO

type ClassesDO struct {
	Id                   int32    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ClassNo              string   `protobuf:"bytes,2,opt,name=class_no,json=classNo,proto3" json:"class_no,omitempty"`
	UserId               int32    `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClassesDO) Descriptor

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

func (*ClassesDO) GetClassNo

func (m *ClassesDO) GetClassNo() string

func (*ClassesDO) GetId

func (m *ClassesDO) GetId() int32

func (*ClassesDO) GetUserId

func (m *ClassesDO) GetUserId() int32

func (*ClassesDO) GoString

func (this *ClassesDO) GoString() string

func (*ClassesDO) Marshal

func (m *ClassesDO) Marshal() (dAtA []byte, err error)

func (*ClassesDO) MarshalTo

func (m *ClassesDO) MarshalTo(dAtA []byte) (int, error)

func (*ClassesDO) MarshalToSizedBuffer

func (m *ClassesDO) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClassesDO) ProtoMessage

func (*ClassesDO) ProtoMessage()

func (*ClassesDO) Reset

func (m *ClassesDO) Reset()

func (*ClassesDO) Size

func (m *ClassesDO) Size() (n int)

func (*ClassesDO) String

func (m *ClassesDO) String() string

func (*ClassesDO) Unmarshal

func (m *ClassesDO) Unmarshal(dAtA []byte) error

func (*ClassesDO) XXX_DiscardUnknown

func (m *ClassesDO) XXX_DiscardUnknown()

func (*ClassesDO) XXX_Marshal

func (m *ClassesDO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClassesDO) XXX_Merge

func (m *ClassesDO) XXX_Merge(src proto.Message)

func (*ClassesDO) XXX_Size

func (m *ClassesDO) XXX_Size() int

func (*ClassesDO) XXX_Unmarshal

func (m *ClassesDO) XXX_Unmarshal(b []byte) error

type UsersDO

type UsersDO struct {
	Id                   int32    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Phone                string   `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"`
	Sex                  int32    `protobuf:"varint,4,opt,name=sex,proto3" json:"sex,omitempty"`
	Email                string   `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	Disable              int32    `protobuf:"varint,6,opt,name=disable,proto3" json:"disable,omitempty"`
	Balance              float64  `protobuf:"fixed64,7,opt,name=balance,proto3" json:"balance,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UsersDO) Descriptor

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

func (*UsersDO) GetBalance

func (m *UsersDO) GetBalance() float64

func (*UsersDO) GetDisable

func (m *UsersDO) GetDisable() int32

func (*UsersDO) GetEmail

func (m *UsersDO) GetEmail() string

func (*UsersDO) GetId

func (m *UsersDO) GetId() int32

func (*UsersDO) GetName

func (m *UsersDO) GetName() string

func (*UsersDO) GetPhone

func (m *UsersDO) GetPhone() string

func (*UsersDO) GetSex

func (m *UsersDO) GetSex() int32

func (*UsersDO) GoString

func (this *UsersDO) GoString() string

func (*UsersDO) Marshal

func (m *UsersDO) Marshal() (dAtA []byte, err error)

func (*UsersDO) MarshalTo

func (m *UsersDO) MarshalTo(dAtA []byte) (int, error)

func (*UsersDO) MarshalToSizedBuffer

func (m *UsersDO) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UsersDO) ProtoMessage

func (*UsersDO) ProtoMessage()

func (*UsersDO) Reset

func (m *UsersDO) Reset()

func (*UsersDO) Size

func (m *UsersDO) Size() (n int)

func (*UsersDO) String

func (m *UsersDO) String() string

func (*UsersDO) Unmarshal

func (m *UsersDO) Unmarshal(dAtA []byte) error

func (*UsersDO) XXX_DiscardUnknown

func (m *UsersDO) XXX_DiscardUnknown()

func (*UsersDO) XXX_Marshal

func (m *UsersDO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UsersDO) XXX_Merge

func (m *UsersDO) XXX_Merge(src proto.Message)

func (*UsersDO) XXX_Size

func (m *UsersDO) XXX_Size() int

func (*UsersDO) XXX_Unmarshal

func (m *UsersDO) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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