Documentation ¶
Index ¶
Constants ¶
View Source
const (
UserID = "user_id"
)
Variables ¶
This section is empty.
Functions ¶
func NewAccountStorage ¶
func NewMockStorage ¶
func NewMockStorage() *mock
Types ¶
type AccountInfo ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewLoginService ¶
func NewLoginService(loginService accountsStorage, jWtService tokenizer) *Service
func (*Service) Authorization ¶
func (s *Service) Authorization() gin.HandlerFunc
func (*Service) PostAuthToken ¶
Click to show internal directories.
Click to hide internal directories.