Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBanned = errors.New("account banned") ErrLocked = errors.New("account locked") ErrCookieMissing = errors.New("missing access token cookie") ErrCSRFHeaderMissing = errors.New("missing CSRF token header") ErrCSRFInvalid = errors.New("invalid CSRF token") ErrTokenInvalid = errors.New("token invalid") ErrTokenMismatch = errors.New("token mismatch") ErrTokenRevoked = errors.New("token is revoked") ErrTokenExpired = errors.New("token is expired") )
Functions ¶
func NewTestServer ¶
func NewTestServer(userSvc handlers.UserService, patSvc handlers.PersonalAccessTokenService, handler ...handlers.Handler) *server.Server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.