Documentation ¶
Index ¶
- type Service
- func (s *Service) Auth(request *model.AuthRequest) (res *model.AuthResponse, err error)
- func (s *Service) CompareValues(srcValue interface{}, destValue interface{}) (bool, error)
- func (s Service) Config() *config.Config
- func (s *Service) FindUid(uidName string, result interface{}) (string, bool)
- func (s *Service) ParseConfigString(configString string) (*model.AppConfig, error)
- func (s *Service) ParseTokenInRequest(tokenInRequest *string) (digest string, createTime int64, token string, err error)
- func (s *Service) Ping() error
- func (s *Service) SignIn(request *model.SignInRequest) (res *model.SignInResponse, err error)
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 (*Service) Auth ¶
func (s *Service) Auth(request *model.AuthRequest) (res *model.AuthResponse, err error)
func (*Service) CompareValues ¶
func (*Service) ParseConfigString ¶
func (*Service) ParseTokenInRequest ¶
func (*Service) SignIn ¶
func (s *Service) SignIn(request *model.SignInRequest) (res *model.SignInResponse, err error)
Click to show internal directories.
Click to hide internal directories.