Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StandardResponse ¶
type StandardResponse struct {
apistructs.Header
Data interface{} `json:"data,omitempty"`
}
StandardResponse 标准 api 返回结构
type WebhookServer ¶
type WebhookServer struct {
// contains filtered or unexported fields
}
WebhookServer webhook server
func (*WebhookServer) Create ¶
func (w *WebhookServer) Create(spec apistructs.WebhookCreateRequest) error
Create 创建 hook
func (*WebhookServer) List ¶
func (w *WebhookServer) List() (apistructs.WebhookListResponseData, error)
List 获取 hooks 列表
Click to show internal directories.
Click to hide internal directories.