package token import "time" type Maker interface { CreateToken(username string, userID int, duration time.Duration) (string, *Payload, error) VerifyToken(token string) (*Payload, error) }