controller

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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