Documentation ¶
Index ¶
- Variables
- func RegisterServiceHandler(s server.Server, hdlr ServiceHandler, opts ...server.HandlerOption) error
- type Id
- func (*Id) Descriptor() ([]byte, []int)
- func (m *Id) GetId() int64
- func (m *Id) Marshal() (dAtA []byte, err error)
- func (m *Id) MarshalTo(dAtA []byte) (int, error)
- func (*Id) ProtoMessage()
- func (m *Id) Reset()
- func (m *Id) Size() (n int)
- func (m *Id) String() string
- func (m *Id) Unmarshal(dAtA []byte) error
- func (m *Id) XXX_DiscardUnknown()
- func (m *Id) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Id) XXX_Merge(src proto.Message)
- func (m *Id) XXX_Size() int
- func (m *Id) XXX_Unmarshal(b []byte) error
- type Null
- func (*Null) Descriptor() ([]byte, []int)
- func (m *Null) Marshal() (dAtA []byte, err error)
- func (m *Null) MarshalTo(dAtA []byte) (int, error)
- func (*Null) ProtoMessage()
- func (m *Null) Reset()
- func (m *Null) Size() (n int)
- func (m *Null) String() string
- func (m *Null) Unmarshal(dAtA []byte) error
- func (m *Null) XXX_DiscardUnknown()
- func (m *Null) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Null) XXX_Merge(src proto.Message)
- func (m *Null) XXX_Size() int
- func (m *Null) XXX_Unmarshal(b []byte) error
- type Service
- type ServiceHandler
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetCreatedAt() time.Time
- func (m *User) GetId() int64
- func (m *User) GetMobile() string
- func (m *User) GetPassword() string
- func (m *User) GetSalt() string
- func (m *User) GetStatus() int32
- func (m *User) GetUpdatedAt() time.Time
- func (m *User) Marshal() (dAtA []byte, err error)
- func (m *User) MarshalTo(dAtA []byte) (int, error)
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) Size() (n int)
- func (m *User) String() string
- func (m *User) Unmarshal(dAtA []byte) error
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthUser = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowUser = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterServiceHandler ¶
func RegisterServiceHandler(s server.Server, hdlr ServiceHandler, opts ...server.HandlerOption) error
Types ¶
type Id ¶
type Id struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*Id) Descriptor ¶
func (*Id) ProtoMessage ¶
func (*Id) ProtoMessage()
func (*Id) XXX_DiscardUnknown ¶
func (m *Id) XXX_DiscardUnknown()
func (*Id) XXX_Unmarshal ¶
type Null ¶
type Null struct { }
func (*Null) Descriptor ¶
func (*Null) ProtoMessage ¶
func (*Null) ProtoMessage()
func (*Null) XXX_DiscardUnknown ¶
func (m *Null) XXX_DiscardUnknown()
func (*Null) XXX_Unmarshal ¶
type Service ¶
type ServiceHandler ¶
type User ¶
type User struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Mobile string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` Salt string `protobuf:"bytes,4,opt,name=salt,proto3" json:"salt,omitempty"` Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` CreatedAt time.Time `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"` UpdatedAt time.Time `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at"` }
func (*User) Descriptor ¶
func (*User) GetCreatedAt ¶
func (*User) GetPassword ¶
func (*User) GetUpdatedAt ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.