web

package
v0.7.9 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: AGPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CORS

func CORS(ctx *gin.Context)

func Handle

func Handle(h HandlerFunc) gin.HandlerFunc

func InitRouter

func InitRouter(s *controllers.Service) *controllers.Service

func Logger

func Logger(logger *logger.Logger, notLogged ...string) gin.HandlerFunc

Logger is the logrus logger handler

func Serve

func Serve(conf config.App, sshManager *ssh.Manager, taskManager *task.Manager, tunnelManager *tunnel.Manager)

Types

type HandlerFunc

type HandlerFunc func(c *controllers.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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