handlers

package
v0.0.0-...-732e4b4 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdHandler

func CmdHandler(t *template.Template, logger logr.Logger) *cmdHandler

func HomeHandler

func HomeHandler(t *template.Template) gin.HandlerFunc

func IpHandler

func IpHandler() gin.HandlerFunc

func NewConfigHandler

func NewConfigHandler(t *template.Template, db *leveldb.DB, logger logr.Logger) *configController

func NewOpenvpnHandler

func NewOpenvpnHandler(db *leveldb.DB, logger logr.Logger) *openvpnHandler

func RegisterRoutes

func RegisterRoutes(logger logr.Logger, db *leveldb.DB, content *embed.FS) http.Handler

RegisterRoutes used by the web app to configure handlers to paths

func SlackHandler

func SlackHandler(db *leveldb.DB) gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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