Documentation ¶
Index ¶
- type DingTalkWebhook
- func (t *DingTalkWebhook) Init(metadata bindings.Metadata) error
- func (t *DingTalkWebhook) Invoke(req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
- func (t *DingTalkWebhook) Operations() []bindings.OperationKind
- func (t *DingTalkWebhook) Read(handler func(*bindings.ReadResponse) ([]byte, error)) error
- type Settings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DingTalkWebhook ¶
type DingTalkWebhook struct {
// contains filtered or unexported fields
}
func NewDingTalkWebhook ¶
func NewDingTalkWebhook(l logger.Logger) *DingTalkWebhook
func (*DingTalkWebhook) Init ¶
func (t *DingTalkWebhook) Init(metadata bindings.Metadata) error
Init performs metadata parsing
func (*DingTalkWebhook) Invoke ¶
func (t *DingTalkWebhook) Invoke(req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
func (*DingTalkWebhook) Operations ¶
func (t *DingTalkWebhook) Operations() []bindings.OperationKind
Operations returns list of operations supported by dingtalk webhook binding
func (*DingTalkWebhook) Read ¶
func (t *DingTalkWebhook) Read(handler func(*bindings.ReadResponse) ([]byte, error)) error
Read triggers the outgoing webhook, not yet production ready
Click to show internal directories.
Click to hide internal directories.