Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(service TokenService) http.Handler
func NewTokenHandler ¶
func NewTokenHandler(svc TokenService) *tokenHandler
Types ¶
type TokenService ¶
type TokenService interface { Create(token.AccessToken) *errors.Response GetById(string) (*token.AccessToken, *errors.Response) UpdateExpiration(token.AccessToken) *errors.Response }
Click to show internal directories.
Click to hide internal directories.