Documentation ¶
Index ¶
- Variables
- type HealthCheckService
- type User
- func (s *User) Activate(ctx context.Context, activateRequest *v1.ActivateRequest) (*emptypb.Empty, error)
- func (s *User) CheckPermission() error
- func (s *User) Logout(ctx context.Context, logoutRequest *v1.LogoutRequest) (*emptypb.Empty, error)
- func (s *User) Register(ctx context.Context, registerRequest *v1.GrantRequest) (*v1.GrantAccess, error)
- func (s *User) Token(ctx context.Context, grantRequest *v1.GrantRequest) (*v1.GrantAccess, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewUserService, NewHealthCheckService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type HealthCheckService ¶
type HealthCheckService struct {
v1.UnimplementedHealthCheckServer
}
func NewHealthCheckService ¶
func NewHealthCheckService() *HealthCheckService
func (*HealthCheckService) HealthCheck ¶
type User ¶
type User struct { v1.UnimplementedUserServer // contains filtered or unexported fields }
func NewUserService ¶
func NewUserService(uc *biz.LoginDetailUsecase) *User
func (*User) CheckPermission ¶
func (*User) Register ¶
func (s *User) Register(ctx context.Context, registerRequest *v1.GrantRequest) (*v1.GrantAccess, error)
func (*User) Token ¶
func (s *User) Token(ctx context.Context, grantRequest *v1.GrantRequest) (*v1.GrantAccess, error)
Click to show internal directories.
Click to hide internal directories.