Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
UserRepository UserRepository
}
func (Service) Login ¶
func (s Service) Login(ctx context.Context, in *pb.UserLoginRequest) (*pb.UserInfoReply, error)
Directories ¶
Path | Synopsis |
---|---|
client/grpc
Package grpc provides a gRPC client for the User service.
|
Package grpc provides a gRPC client for the User service. |
client/http
Package http provides an HTTP client for the User service.
|
Package http provides an HTTP client for the User service. |
Click to show internal directories.
Click to hide internal directories.