Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService( cfg *ServiceConfig, ) *Service
func (*Service) Create ¶
func (s *Service) Create( ctx context.Context, req *usersv1.CreateRequest, ) (*usersv1.CreateResponse, error)
func (*Service) Login ¶
func (s *Service) Login( ctx context.Context, req *usersv1.LoginRequest, ) (*usersv1.LoginResponse, error)
type ServiceConfig ¶
type ServiceConfig struct {
JwtSvc JwtSvc
}
Click to show internal directories.
Click to hide internal directories.