api

package
v0.0.0-...-1132805 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPServer

type HTTPServer struct {
	Setting       *setting.Setting
	RouteRegister routing.RouteRegister
	// contains filtered or unexported fields
}

func ProvideHTTPServer

func ProvideHTTPServer(setting *setting.Setting, routeRegister routing.RouteRegister) (*HTTPServer, error)

func (*HTTPServer) Index

func (hs *HTTPServer) Index(c *models.ReqContext)

func (*HTTPServer) LoginPost

func (hs *HTTPServer) LoginPost(context *models.ReqContext)

func (*HTTPServer) LoginView

func (hs *HTTPServer) LoginView(context *models.ReqContext)

func (*HTTPServer) Logout

func (hs *HTTPServer) Logout(context *models.ReqContext)

func (*HTTPServer) NotFoundHandler

func (hs *HTTPServer) NotFoundHandler(c *models.ReqContext)

func (*HTTPServer) Run

func (hs *HTTPServer) Run() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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