api

package
v1.2.6-0...-daff01b Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reply

func Reply(gc *gin.Context, code int, data interface{}, err error)

Types

type Api

type Api interface {
	GetDbCollectionNames(*gin.Context)
	GetSensorData(*gin.Context)
	GetDockerInfo(*gin.Context)
}

func New

func New(ctx context.Context, config models.Config) Api

Jump to

Keyboard shortcuts

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