controller

package
v0.14.4 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRole

func CreateRole(c echo.Context, gc *GC) error

CreateRole controller

func DeleteRole

func DeleteRole(c echo.Context, gc *GC) error

DeleteRole controller

func GetNetInterfaces

func GetNetInterfaces(c echo.Context, _ *GC) error

GetNetInterfaces controller

func GetRoles

func GetRoles(c echo.Context, gc *GC) error

GetRoles controller

func Health

func Health(c echo.Context) error

Health controller

func Ready

func Ready(c echo.Context) error

Ready controller

Types

type GC

type GC struct {
	Database *module.Database
}

GC type

func (*GC) GetDatabase

func (c *GC) GetDatabase() *module.Database

GetDatabase gets a database connection

Jump to

Keyboard shortcuts

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