app

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Env

func Env(c echo.Context) error

DetailV2 新版应用详情

func FilterList

func FilterList(c echo.Context) error

添加lang约束查询

func Info

func Info(c echo.Context) error

DetailV2 新版应用详情

Types

type ReqAppsQuery

type ReqAppsQuery struct {
	Langs     []string `json:"langs" form:"langs"`
	BizDomain []string `json:"tags" form:"tags"`
	Qs        string   `json:"qs" form:"qs"`
	SortBy    string   `json:"sortBy" form:"sortBy"`
	Page      int      `json:"page" form:"page"`
	CustomBy  string   `json:"custom"`
	PageSize  uint     `json:"pageSize"`
}

ReqAppsQuery ...

type ReqList

type ReqList struct {
	AppName  string `json:"appName"`
	ZoneCode string `json:"zone_code"`
	Env      string `json:"env"`
}

type ReqLogger added in v0.3.0

type ReqLogger struct {
	Typ      string `json:"typ"`
	Env      string `json:"env"`
	Aid      string `json:"aid"`
	AppName  string `json:"app_name"`
	QueryTyp string `json:"query_typ"`
}

type RespInfo

type RespInfo struct {
	Id         int    `json:"id" gorm:"not null;column:id"` // id类型?
	HostName   string `json:"hostName" gorm:"not null;column:host_name"`
	Ip         string `json:"ip" gorm:"not null;column:ip"`
	DeviceID   int    `json:"deviceId" gorm:"not null;column:device_id"`
	Env        string `json:"env"gorm:"not null"`
	RegionCode string `json:"regionCode"gorm:"not null"`
	RegionName string `json:"regionName"gorm:"not null"`
	ZoneCode   string `json:"zone_code"gorm:"not null"`
	IsGrpc     int    `json:"isGrpc"`
	IsHttp     int    `json:"isHttp"`
	IsDayu     int    `json:"isDayu"`
}

Jump to

Keyboard shortcuts

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