Documentation ¶
Index ¶
- func GetToken(systemID string, accessToken string) (string, *exception.Exception)
- func NewGlobal(userID string, accessToken string, roles *[]domain.Role) (bool, *exception.Exception)
- func NewSystem(systemID string, accessToken string, roles *[]domain.Role) (string, *exception.Exception)
- func VerifySystem(systemID string, accessToken string) (string, *exception.Exception)
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGlobal ¶
func NewGlobal(userID string, accessToken string, roles *[]domain.Role) (bool, *exception.Exception)
NewGlobal : Create a global session or update the global session the expire time.
Types ¶
Click to show internal directories.
Click to hide internal directories.