bootstraphandlers

package
v0.0.0-...-851e7b8 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootstrapHandlers

type BootstrapHandlers struct {
	*basichandlers.Basic
}

BootstrapHandlers is the bootrapper api controller

func (*BootstrapHandlers) BootStrappers

func (b *BootstrapHandlers) BootStrappers() gin.HandlerFunc

BootStrappers 启动信息 @Tags 启动信息 @Description 接口启动信息,包含接口节点信息,域名,上传地址或CDN域名等 @Accept json @Produce json @Success 200 "{"code":200,"data":{},"message":"操作成功"}" @Router /bootstrappers [get]

func (*BootstrapHandlers) Status

func (b *BootstrapHandlers) Status() gin.HandlerFunc

Status defined server status API @Summary api节点首页 @Tags 启动信息 @Description 用于查看和调试当前api环境的基本信息 @Description 接口地址实际为 / 根目录,因为swag问题,所以请手动替换下 @Accept json @Produce json @Success 200 "{"code":200,"data":{},"message":"操作成功"}" @Router /endpoint [get]

Jump to

Keyboard shortcuts

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