Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCatalogue ¶
type EditCatalogue ¶
type ExportCatalogue ¶
type ServiceApi ¶
type ServiceApi struct {
*ServiceApiBasic
Doc interface{} `json:"doc"`
}
type ServiceApiBasic ¶
type ServiceApiBasic struct {
Id string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Method string `json:"method"`
Path string `json:"path"`
Creator auto.Label `json:"creator" aolabel:"user"`
Updater auto.Label `json:"updater" aolabel:"user"`
CreateTime auto.TimeLabel `json:"create_time"`
UpdateTime auto.TimeLabel `json:"update_time"`
}
type ServiceBasic ¶
type ServiceBasic struct {
Team auto.Label `json:"team" aolabel:"team"`
ApiNum int `json:"api_num"`
AppNum int `json:"app_num"`
Tags []auto.Label `json:"tags" aolabel:"tag"`
Catalogue auto.Label `json:"catalogue" aolabel:"catalogue"`
Version string `json:"version"`
UpdateTime auto.TimeLabel `json:"update_time"`
Logo string `json:"logo"`
ApprovalType string `json:"approval_type"`
ServiceKind string `json:"service_kind"`
InvokeAddress string `json:"invoke_address"`
SitePrefix string `json:"site_prefix"`
InvokeCount int64 `json:"invoke_count"`
EnableMCP bool `json:"enable_mcp"`
}
type ServiceDetail ¶
type ServiceDetail struct {
Name string `json:"name"`
Description string `json:"description"`
Document string `json:"document"`
Basic *ServiceBasic `json:"basic"`
APIDoc string `json:"api_doc"`
OpenAPIAddress string `json:"openapi_address"`
MCPServerAddress string `json:"mcp_server_address"`
MCPAccessConfig string `json:"mcp_access_config"`
CanSubscribe bool `json:"can_subscribe"`
}
type ServiceItem ¶
type ServiceItem struct {
Id string `json:"id"`
Name string `json:"name"`
Tags []auto.Label `json:"tags" aolabel:"tag"`
Catalogue auto.Label `json:"catalogue" aolabel:"catalogue"`
Description string `json:"description"`
Logo string `json:"logo"`
ApiNum int64 `json:"api_num"`
SubscriberNum int64 `json:"subscriber_num"`
InvokeCount int64 `json:"invoke_count"`
EnableMCP bool `json:"enable_mcp"`
ServiceKind string `json:"service_kind"`
}
type SubscribeService ¶
Click to show internal directories.
Click to hide internal directories.