Versions in this module Expand all Collapse all v0 v0.0.0 Jul 11, 2020 Changes in this version + func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer) + type DispatchCommandRequest struct + Name string + Payload []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*DispatchCommandRequest) Descriptor() ([]byte, []int) + func (*DispatchCommandRequest) ProtoMessage() + func (m *DispatchCommandRequest) GetName() string + func (m *DispatchCommandRequest) GetPayload() []byte + func (m *DispatchCommandRequest) Reset() + func (m *DispatchCommandRequest) String() string + func (m *DispatchCommandRequest) XXX_DiscardUnknown() + func (m *DispatchCommandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DispatchCommandRequest) XXX_Merge(src proto.Message) + func (m *DispatchCommandRequest) XXX_Size() int + func (m *DispatchCommandRequest) XXX_Unmarshal(b []byte) error + type GetUserRequest struct + Id string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetUserRequest) Descriptor() ([]byte, []int) + func (*GetUserRequest) ProtoMessage() + func (m *GetUserRequest) GetId() string + func (m *GetUserRequest) Reset() + func (m *GetUserRequest) String() string + func (m *GetUserRequest) XXX_DiscardUnknown() + func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetUserRequest) XXX_Merge(src proto.Message) + func (m *GetUserRequest) XXX_Size() int + func (m *GetUserRequest) XXX_Unmarshal(b []byte) error + type ListUserRequest struct + Limit int32 + Page int32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ListUserRequest) Descriptor() ([]byte, []int) + func (*ListUserRequest) ProtoMessage() + func (m *ListUserRequest) GetLimit() int32 + func (m *ListUserRequest) GetPage() int32 + func (m *ListUserRequest) Reset() + func (m *ListUserRequest) String() string + func (m *ListUserRequest) XXX_DiscardUnknown() + func (m *ListUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ListUserRequest) XXX_Merge(src proto.Message) + func (m *ListUserRequest) XXX_Size() int + func (m *ListUserRequest) XXX_Unmarshal(b []byte) error + type ListUserResponse struct + Limit int32 + Page int32 + Total int32 + Users []*User + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ListUserResponse) Descriptor() ([]byte, []int) + func (*ListUserResponse) ProtoMessage() + func (m *ListUserResponse) GetLimit() int32 + func (m *ListUserResponse) GetPage() int32 + func (m *ListUserResponse) GetTotal() int32 + func (m *ListUserResponse) GetUsers() []*User + func (m *ListUserResponse) Reset() + func (m *ListUserResponse) String() string + func (m *ListUserResponse) XXX_DiscardUnknown() + func (m *ListUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ListUserResponse) XXX_Merge(src proto.Message) + func (m *ListUserResponse) XXX_Size() int + func (m *ListUserResponse) XXX_Unmarshal(b []byte) error + type User struct + Email string + FacebookId string + GoogleId string + Id string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*User) Descriptor() ([]byte, []int) + func (*User) ProtoMessage() + func (m *User) GetEmail() string + func (m *User) GetFacebookId() string + func (m *User) GetGoogleId() string + func (m *User) GetId() string + 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 + type UserServiceClient interface + DispatchCommand func(ctx context.Context, in *DispatchCommandRequest, opts ...grpc.CallOption) (*empty.Empty, error) + GetUser func(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*User, error) + ListUsers func(ctx context.Context, in *ListUserRequest, opts ...grpc.CallOption) (*ListUserResponse, error) + func NewUserServiceClient(cc *grpc.ClientConn) UserServiceClient + type UserServiceServer interface + DispatchCommand func(context.Context, *DispatchCommandRequest) (*empty.Empty, error) + GetUser func(context.Context, *GetUserRequest) (*User, error) + ListUsers func(context.Context, *ListUserRequest) (*ListUserResponse, error)