handlers

package
v0.29.7 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2018 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	COOKIE_KEY = "statup_auth"
)

Variables

Functions

func ApiAllServicesHandler

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

func ApiAllUsersHandler

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

func ApiCheckinHandler

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

func ApiIndexHandler

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

func ApiServiceHandler

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

func ApiServiceUpdateHandler

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

func ApiUserHandler

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

func CheckinCreateUpdateHandler

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

func CreateServiceHandler

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

func CreateUserHandler

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

func DashboardHandler

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

func Error404Handler added in v0.28.4

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

func ExecuteJSResponse added in v0.29.1

func ExecuteJSResponse(w http.ResponseWriter, r *http.Request, file string, data interface{})

func ExecuteResponse

func ExecuteResponse(w http.ResponseWriter, r *http.Request, file string, data interface{})

func HelpHandler

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

func IndexHandler

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

func IsAuthenticated

func IsAuthenticated(r *http.Request) bool

func LocalizedAssets added in v0.28.4

func LocalizedAssets(r *mux.Router) *mux.Router

func LoginHandler

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

func LogoutHandler

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

func PluginSavedHandler

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

func PluginsDownloadHandler

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

func PluginsHandler

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

func ProcessSetupHandler

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

func PrometheusHandler

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

func RenderServiceChartsHandler added in v0.29.1

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

func Router

func Router() *mux.Router

func RunHTTPServer

func RunHTTPServer()

func SaveAssetsHandler

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

func SaveEmailSettingsHandler

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

func SaveSASSHandler

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

func SaveSettingsHandler

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

func SaveSlackSettingsHandler added in v0.28.5

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

func ServicesBadgeHandler

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

func ServicesDeleteFailuresHandler

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

func ServicesDeleteHandler

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

func ServicesHandler

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

func ServicesUpdateHandler

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

func ServicesViewHandler

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

func SessionUser

func SessionUser(r *http.Request) *types.User

func SetupHandler

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

func SetupResponseError

func SetupResponseError(w http.ResponseWriter, r *http.Request, a interface{})

func UsersDeleteHandler

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

func UsersHandler

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

Types

type DbConfig

type DbConfig types.DbConfig

type PluginSelect

type PluginSelect struct {
	Plugin string
	Form   string
	Params map[string]interface{}
}

Jump to

Keyboard shortcuts

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