session

package
v0.0.0-...-2c4de49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	Session   string
	IssueTime string
	KickId    string
	UserID    string
}

func NewSessionFromCookies

func NewSessionFromCookies(cookies []*http.Cookie) *Session

func (*Session) AddSessionCookies

func (s *Session) AddSessionCookies(req *http.Request)

func (*Session) GetSessionCookies

func (s *Session) GetSessionCookies() []*http.Cookie

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL