Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UserLoginDataCache ¶
type UserLoginDataCache struct { *UserLoginRes LoginTime int64 `json:"loginTime"` //登录时间 ClientType string `json:"clientType"` LoginTimeout int64 `json:"loginTimeout"` //登录过期时间 }
type UserLoginReq ¶
type UserLoginRes ¶
type UserLoginService ¶
type UserLoginService struct {
// contains filtered or unexported fields
}
func NewUserLoginService ¶
func NewUserLoginService(ctx *context.Context) *UserLoginService
func (*UserLoginService) GetUserLoginInfoByTokenFromCache ¶
func (s *UserLoginService) GetUserLoginInfoByTokenFromCache(token string) (*UserLoginDataCache, error)
func (*UserLoginService) UserLogin ¶
func (s *UserLoginService) UserLogin(req *UserLoginReq) (res *UserLoginRes, err error)
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func NewUserService ¶
func NewUserService(ctx *context.Context) *UserService
Click to show internal directories.
Click to hide internal directories.