handler

package
v0.0.0-...-25feab0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2017 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BBS

type BBS struct {
	// contains filtered or unexported fields
}

BBS ...

func NewBBS

func NewBBS(opt Option) *BBS

NewBBS ...

func (*BBS) ServeHTTP

func (b *BBS) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Option

type Option struct {
	CookieStore sessions.Store
	DB          database.Database
}

Option ...

type Session

type Session struct {
	// contains filtered or unexported fields
}

Session ...

func NewSession

func NewSession(opt Option) *Session

NewSession ...

func (*Session) ServeHTTP

func (s *Session) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP ...

type User

type User struct {
	// contains filtered or unexported fields
}

User ...

func NewUser

func NewUser(opt Option) *User

NewUser ...

func (*User) ServeHTTP

func (u *User) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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