Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TableName = "api"
TableName default api
Functions ¶
func NewHTTPServer ¶
NewHTTPServer new api service
func RegistCustomHandlers ¶
func RegistCustomHandlers(name, path, method string, fn gin.HandlerFunc)
RegistCustomHandlers register customer's handlers
Types ¶
type API ¶
type API struct { ID string `xorm:"id"` Name string `xorm:"name"` ServiceDomain string `xorm:"service_domain"` ServiceName string `xorm:"service_name"` ServiceVersion string `xorm:"service_version"` Topic string `xorm:"topic"` Status string `xorm:"status"` }
API api struct
type InnerResult ¶
InnerResult result of running component
Click to show internal directories.
Click to hide internal directories.