Documentation ¶
Index ¶
- func EgClientBuilder() *httpclient.HcHttpClientBuilder
- func GenReqDefForPutEvents() *def.HttpRequestDef
- func GenReqDefForPutOfficialEvents() *def.HttpRequestDef
- type EgClient
- func (c *EgClient) PutEvents(request *model.PutEventsRequest) (*model.PutEventsResponse, error)
- func (c *EgClient) PutEventsInvoker(request *model.PutEventsRequest) *PutEventsInvoker
- func (c *EgClient) PutOfficialEvents(request *model.PutOfficialEventsRequest) (*model.PutOfficialEventsResponse, error)
- func (c *EgClient) PutOfficialEventsInvoker(request *model.PutOfficialEventsRequest) *PutOfficialEventsInvoker
- type PutEventsInvoker
- type PutOfficialEventsInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EgClientBuilder ¶
func EgClientBuilder() *httpclient.HcHttpClientBuilder
func GenReqDefForPutEvents ¶
func GenReqDefForPutEvents() *def.HttpRequestDef
func GenReqDefForPutOfficialEvents ¶ added in v0.1.61
func GenReqDefForPutOfficialEvents() *def.HttpRequestDef
Types ¶
type EgClient ¶
type EgClient struct {
HcClient *httpclient.HcHttpClient
}
func NewEgClient ¶
func NewEgClient(hcClient *httpclient.HcHttpClient) *EgClient
func (*EgClient) PutEvents ¶
func (c *EgClient) PutEvents(request *model.PutEventsRequest) (*model.PutEventsResponse, error)
PutEvents 用户自定义事件集成入口
用户自定义事件集成入口
Please refer to HUAWEI cloud API Explorer for details.
func (*EgClient) PutEventsInvoker ¶
func (c *EgClient) PutEventsInvoker(request *model.PutEventsRequest) *PutEventsInvoker
PutEventsInvoker 用户自定义事件集成入口
func (*EgClient) PutOfficialEvents ¶ added in v0.1.61
func (c *EgClient) PutOfficialEvents(request *model.PutOfficialEventsRequest) (*model.PutOfficialEventsResponse, error)
PutOfficialEvents 发布官方事件到事件通道
发布官方事件到事件通道。
Please refer to HUAWEI cloud API Explorer for details.
func (*EgClient) PutOfficialEventsInvoker ¶ added in v0.1.61
func (c *EgClient) PutOfficialEventsInvoker(request *model.PutOfficialEventsRequest) *PutOfficialEventsInvoker
PutOfficialEventsInvoker 发布官方事件到事件通道
type PutEventsInvoker ¶
type PutEventsInvoker struct {
*invoker.BaseInvoker
}
func (*PutEventsInvoker) Invoke ¶
func (i *PutEventsInvoker) Invoke() (*model.PutEventsResponse, error)
type PutOfficialEventsInvoker ¶ added in v0.1.61
type PutOfficialEventsInvoker struct {
*invoker.BaseInvoker
}
func (*PutOfficialEventsInvoker) Invoke ¶ added in v0.1.61
func (i *PutOfficialEventsInvoker) Invoke() (*model.PutOfficialEventsResponse, error)
Click to show internal directories.
Click to hide internal directories.