service

package
v0.0.0-...-19b7e1b Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authenticate

func Authenticate(username string, res *core.Resolver, w http.ResponseWriter, r *http.Request) bool

func Close

func Close(w http.ResponseWriter, r *http.Request)

func ConsoleHandler

func ConsoleHandler() http.Handler

func Current

func Current(r *http.Request) (bool, string)

func DashBoardPageHandler

func DashBoardPageHandler() http.Handler

func DocsPage

func DocsPage() http.Handler

func LoginPageHandler

func LoginPageHandler(res *core.Resolver) http.Handler

func LogoutHandler

func LogoutHandler(w http.ResponseWriter, r *http.Request)

func Retrieve_session

func Retrieve_session(r *http.Request) (bool, *http.Request)

func ServerPage

func ServerPage() http.Handler

Types

type Server

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

func New

func New(drv driver.Provider) *Server

func (*Server) Run

func (s *Server) Run()

Jump to

Keyboard shortcuts

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