Documentation ¶
Index ¶
- Constants
- type AttachmentItemModel
- type HookProvider
- func (hp HookProvider) TransformErrorMessageResponse(errMsg string) hookCommon.TransformResponseModel
- func (hp HookProvider) TransformRequest(r *http.Request) hookCommon.TransformResultModel
- func (hp HookProvider) TransformResponse(input hookCommon.TransformResponseInputModel) hookCommon.TransformResponseModel
- func (hp HookProvider) TransformSuccessMessageResponse(msg string) hookCommon.TransformResponseModel
- type RespModel
Constants ¶
View Source
const (
// ProviderID ...
ProviderID = "slack"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachmentItemModel ¶
type AttachmentItemModel struct { Fallback string `json:"fallback"` Text string `json:"text"` Color string `json:"color,omitempty"` }
AttachmentItemModel ...
type HookProvider ¶
type HookProvider struct{}
HookProvider ...
func (HookProvider) TransformErrorMessageResponse ¶
func (hp HookProvider) TransformErrorMessageResponse(errMsg string) hookCommon.TransformResponseModel
TransformErrorMessageResponse ...
func (HookProvider) TransformRequest ¶
func (hp HookProvider) TransformRequest(r *http.Request) hookCommon.TransformResultModel
TransformRequest ...
func (HookProvider) TransformResponse ¶
func (hp HookProvider) TransformResponse(input hookCommon.TransformResponseInputModel) hookCommon.TransformResponseModel
TransformResponse ...
func (HookProvider) TransformSuccessMessageResponse ¶
func (hp HookProvider) TransformSuccessMessageResponse(msg string) hookCommon.TransformResponseModel
TransformSuccessMessageResponse ...
Click to show internal directories.
Click to hide internal directories.