controller

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

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

Go to latest
Published: Jul 25, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SessionName = "isucoin_session"
)

Variables

View Source
var BaseTime time.Time

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(db *sql.DB, store sessions.Store) *Handler

func (*Handler) AddOrders

func (h *Handler) AddOrders(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func (*Handler) CommonMiddleware

func (h *Handler) CommonMiddleware(f http.Handler) http.Handler

func (*Handler) DeleteOrders

func (h *Handler) DeleteOrders(w http.ResponseWriter, r *http.Request, p httprouter.Params)

func (*Handler) GetOrders

func (h *Handler) GetOrders(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func (*Handler) Info

func (*Handler) Initialize

func (h *Handler) Initialize(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func (*Handler) Signin

func (h *Handler) Signin(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func (*Handler) Signout

func (h *Handler) Signout(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func (*Handler) Signup

func (h *Handler) Signup(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

Jump to

Keyboard shortcuts

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