Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JWTMaker ¶
type JWTMaker struct {
// contains filtered or unexported fields
}
func (JWTMaker) CreateToken ¶
type Maker ¶
type Maker interface { CreateToken(userID domain.ID, duration time.Duration) (string, *Payload, error) VerifyToken(token string) (*Payload, error) }
func NewJWTMaker ¶
Click to show internal directories.
Click to hide internal directories.