Documentation ¶ Index ¶ type Service func New() (*Service, error) func (s *Service) Check(c *gin.Context, token string) (*protos.Person, error) func (s *Service) VerifyUser(c *gin.Context, userName, pwd string) (bool, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Service ¶ type Service struct { LocalCache *gocache.Cache } func New ¶ func New() (*Service, error) func (*Service) Check ¶ func (s *Service) Check(c *gin.Context, token string) (*protos.Person, error) func (*Service) VerifyUser ¶ func (s *Service) VerifyUser(c *gin.Context, userName, pwd string) (bool, error) Source Files ¶ View all Source files client.gologin.go Click to show internal directories. Click to hide internal directories.