Documentation
¶
Index ¶
- type Service
- func (s *Service) Add(credentials models.BasicAuthCredentialsInstance) error
- func (s *Service) CheckCredentials(basicAuthHeader string) bool
- func (s *Service) Delete(username string) (found bool, err error)
- func (s *Service) DeleteAll() error
- func (s *Service) GetAll() []models.BasicAuthCredentialsInstance
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 (*Service) CheckCredentials ¶
func (*Service) GetAll ¶
func (s *Service) GetAll() []models.BasicAuthCredentialsInstance
Click to show internal directories.
Click to hide internal directories.