common

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package common @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License

Package common @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License

Package common @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GbuildReq

type GbuildReq struct {
	g.Meta `path:"/build/gBuild"  method:"get" tags:"common" summary:"获取服务信息"`
}

type GbuildRes

type GbuildRes struct {
	Info     gbuild.BuildInfo `json:"info" dc:"数据对象"`
	Datetime string           `json:"datetime" dc:"数据对象"`
	UUID     string           `json:"UUID" dc:"数据对象"`
	Port     int              `json:"port" dc:"数据对象"`
	Pid      int              `json:"pid" dc:"数据对象"`
	STime    string           `json:"sTime" dc:"数据对象"`
}

type GtimeNowReq

type GtimeNowReq struct {
	g.Meta `path:"/build/gTimeNow"  method:"get" tags:"common" summary:"获取服务信息"`
	Format string `d:"Y-m-d H:i:s" dc:"数据对象"`
}

type GtimeNowRes

type GtimeNowRes struct {
	Datetime       string `json:"datetime" dc:"数据对象"`
	DatetimeMilli  string `json:"datetimeMilli" dc:"数据对象"`
	Timestamp      string `json:"timestamp" dc:"数据对象"`
	TimestampMilli string `json:"timestampMilli" dc:"数据对象"`
	Format         string `json:"format" dc:"数据对象"`
	ISO8601        string `json:"ISO8601" dc:"数据对象"`
	RFC822         string `json:"RFC822" dc:"数据对象"`
}

type MonitorMoreReq

type MonitorMoreReq struct {
	g.Meta `path:"/info/getMonitorMore" method:"get"  tags:"common" summary:"当前服务器信息"`
}

type MonitorMoreRes

type MonitorMoreRes struct {
	g.Meta                 `mime:"text/html" type:"string" example:"<html/>"  dc:"当前服务器信息"`
	*monitor.MonitorOutput `dc:"数据对象"`
}

type StatusEnumReq

type StatusEnumReq struct {
	g.Meta `path:"/enums/list"  method:"get" tags:"common" summary:"获取服务所有响应枚举描述"`
}

type StatusEnumRes

type StatusEnumRes struct {
	HttpStatus      g.MapIntStr                `dc:"http响应枚举"`
	GcodeStatus     g.MapIntStr                `dc:"系统框架常用错误枚举"`
	WebsocketStatus g.MapStrStr                `dc:"websocket枚举"`
	CustomStatus    g.MapIntStr                `dc:"自定义枚举"`
	CosTypeStatus   map[string]marshal.CosType `dc:"代理仓库缓存类型"`
}

type VerifyJunitReq

type VerifyJunitReq struct {
	g.Meta `path:"/info/verify"  method:"get" tags:"common" summary:"当前服务器信息"`
}

type VerifyJunitRes

type VerifyJunitRes struct {
	g.Meta `mime:"text服务网络链接验证/html" type:"string" example:"<html/>" dc:"当前服务器信息"`
	Data   []*monitor.VerifyOutput `dc:"数据对象"`
}

type VersionMoreReq

type VersionMoreReq struct {
	g.Meta `path:"/info/getVersionMore" method:"get"  tags:"common" summary:"当前程序版本信息"`
}

type VersionMoreRes

type VersionMoreRes struct {
	g.Meta                 `mime:"text/html" type:"string" example:"<html/>"  dc:"当前程序版本信息"`
	*monitor.VersionOutput `dc:"数据对象"`
}

Jump to

Keyboard shortcuts

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