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"` }
type ServiceDetail ¶
type ServiceDetail struct { Name string `json:"name"` Description string `json:"description"` Document string `json:"document"` Basic *ServiceBasic `json:"basic"` //Apis []*ServiceApi `json:"apis"` APIDoc string `json:"api_doc"` }
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"` }
type SubscribeService ¶
Click to show internal directories.
Click to hide internal directories.