Versions in this module Expand all Collapse all v0 v0.0.3 Jun 25, 2019 Changes in this version + var ErrIntOverflowUser = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthUser = fmt.Errorf("proto: negative length found during unmarshaling") type Id + func (m *Id) Marshal() (dAtA []byte, err error) + func (m *Id) MarshalTo(dAtA []byte) (int, error) + func (m *Id) Size() (n int) + func (m *Id) Unmarshal(dAtA []byte) error type Null + func (m *Null) Marshal() (dAtA []byte, err error) + func (m *Null) MarshalTo(dAtA []byte) (int, error) + func (m *Null) Size() (n int) + func (m *Null) Unmarshal(dAtA []byte) error type User + func (m *User) Marshal() (dAtA []byte, err error) + func (m *User) MarshalTo(dAtA []byte) (int, error) + func (m *User) Size() (n int) + func (m *User) Unmarshal(dAtA []byte) error v0.0.2 Jun 25, 2019 v0.0.1 Jun 25, 2019 Changes in this version + func RegisterServiceHandler(s server.Server, hdlr ServiceHandler, opts ...server.HandlerOption) error + type Id struct + Id int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Id) Descriptor() ([]byte, []int) + func (*Id) ProtoMessage() + func (m *Id) GetId() int64 + func (m *Id) Reset() + func (m *Id) String() string + 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 struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Null) Descriptor() ([]byte, []int) + func (*Null) ProtoMessage() + func (m *Null) Reset() + func (m *Null) String() string + 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 interface + Create func(ctx context.Context, in *User, opts ...client.CallOption) (*User, error) + Delete func(ctx context.Context, in *Id, opts ...client.CallOption) (*Null, error) + Update func(ctx context.Context, in *User, opts ...client.CallOption) (*User, error) + func NewService(name string, c client.Client) Service + type ServiceHandler interface + Create func(context.Context, *User, *User) error + Delete func(context.Context, *Id, *Null) error + Update func(context.Context, *User, *User) error + type User struct + CreatedAt *protobuf.Timestamp + Id int64 + Mobile string + Password string + Salt string + Status int32 + UpdatedAt *protobuf.Timestamp + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*User) Descriptor() ([]byte, []int) + func (*User) ProtoMessage() + func (m *User) GetCreatedAt() *protobuf.Timestamp + 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() *protobuf.Timestamp + func (m *User) Reset() + func (m *User) String() string + 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