api

package
v1.2110.0-pre Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminUserAllowed

func AdminUserAllowed() echo.MiddlewareFunc

AdminUserAllowed is a `echo` middleware, only allow admin user to access next.

func StartApi

func StartApi(net *gracenet.Net, exitChan chan struct{}, config config.SqleConfig)

@title Sqle API Docs @version 1.0 @description This is a sample server for dev. @securityDefinitions.apikey ApiKeyAuth @in header @name Authorization @BasePath /

Types

This section is empty.

Directories

Path Synopsis
v1

Jump to

Keyboard shortcuts

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