Documentation ¶
Index ¶
Constants ¶
View Source
const (
CRANE_SESSION_KEY = "CRANE_SESSION_KEY"
)
Variables ¶
View Source
var ( TokenExpired = errors.New("token expired") TokenNotFound = errors.New("token not found") )
View Source
var (
ErrCookieNotExist = errors.New("cookie does not exists")
)
Functions ¶
This section is empty.
Types ¶
type Cookie ¶
type Cookie struct {
auth.TokenStore
}
func NewCookieStore ¶
func NewCookieStore() *Cookie
type Default ¶
type Default struct { auth.TokenStore Store map[string]*tokenStore }
func NewDefaultStore ¶
func NewDefaultStore() *Default
Click to show internal directories.
Click to hide internal directories.