Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginRequest ¶
type LoginRequest = pb.LoginRequest
type LoginResponse ¶
type LoginResponse = pb.LoginResponse
type RegisterRequest ¶
type RegisterRequest = pb.RegisterRequest
type RegisterResponse ¶
type RegisterResponse = pb.RegisterResponse
type UserSrv ¶
type UserSrv interface { Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) }
func NewUserSrv ¶
Click to show internal directories.
Click to hide internal directories.