controllers

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommonControllers

func AddCommonControllers(r *registry.Registry)

Types

type KillController

type KillController struct {
}

func (*KillController) HandleKill

func (k *KillController) HandleKill(c *gin.Context)

func (*KillController) HandleShutdown

func (k *KillController) HandleShutdown(c *gin.Context)

func (*KillController) Register

func (k *KillController) Register(_ *registry.Registry, router gin.IRouter) error

type LogController

type LogController struct {
}

func (*LogController) GetLevels

func (*LogController) GetLevels(c *gin.Context)

func (*LogController) Register

func (lc *LogController) Register(reg *registry.Registry, router gin.IRouter) error

func (*LogController) SetComponentLevel

func (lc *LogController) SetComponentLevel(c *gin.Context)

type UptimeController

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

func (*UptimeController) Handle

func (u *UptimeController) Handle(c *gin.Context)

func (*UptimeController) HandleSlow

func (u *UptimeController) HandleSlow(c *gin.Context)

func (*UptimeController) Register

func (u *UptimeController) Register(reg *registry.Registry, router gin.IRouter) error

Jump to

Keyboard shortcuts

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