Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
AnonymousType = "session.type.anonymous"
)
View Source
var ErrSessionEmpty = errors.New("session empty")
View Source
var ErrSessionExpired = errors.New("session expired")
View Source
var ErrSessionRequired = errors.New("session required")
Functions ¶
This section is empty.
Types ¶
type ClientSession ¶
type Session ¶
type Session struct { ClientSession CreatedAt time.Time `json:"created_at,omitempty"` UpdatedAt time.Time `json:"updated_at,omitempty"` ExpiresAt time.Time `json:"expires_at,omitempty"` }
로그인 세션
func Populate ¶
func Populate(cs ClientSession) Session
func PopulateAnonymous ¶
Click to show internal directories.
Click to hide internal directories.