Documentation ¶
Index ¶
Constants ¶
View Source
const (
WebhookGoTSRPCProxyUpdateCache = "UpdateCache"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPWebhookGoTSRPCClient ¶
func NewDefaultWebhookGoTSRPCClient ¶
func NewDefaultWebhookGoTSRPCClient(url string) *HTTPWebhookGoTSRPCClient
func NewWebhookGoTSRPCClient ¶
func NewWebhookGoTSRPCClient(url string, endpoint string) *HTTPWebhookGoTSRPCClient
func NewWebhookGoTSRPCClientWithClient ¶
func NewWebhookGoTSRPCClientWithClient(url string, endpoint string, client *go_net_http.Client) *HTTPWebhookGoTSRPCClient
func (*HTTPWebhookGoTSRPCClient) UpdateCache ¶
func (tsc *HTTPWebhookGoTSRPCClient) UpdateCache(ctx go_context.Context, sysType github_com_foomo_contentfulvalidation_validator.SysType, modelType github_com_foomo_contentfulvalidation_validator.ModelType, modelID github_com_foomo_contentfulvalidation_validator.ModelID) (clientErr error)
type WebhookGoTSRPCClient ¶
type WebhookGoTSRPCClient interface {
UpdateCache(ctx go_context.Context, sysType github_com_foomo_contentfulvalidation_validator.SysType, modelType github_com_foomo_contentfulvalidation_validator.ModelType, modelID github_com_foomo_contentfulvalidation_validator.ModelID) (clientErr error)
}
type WebhookGoTSRPCProxy ¶
type WebhookGoTSRPCProxy struct { EndPoint string // contains filtered or unexported fields }
func NewDefaultWebhookGoTSRPCProxy ¶
func NewDefaultWebhookGoTSRPCProxy(service Webhook) *WebhookGoTSRPCProxy
func NewWebhookGoTSRPCProxy ¶
func NewWebhookGoTSRPCProxy(service Webhook, endpoint string) *WebhookGoTSRPCProxy
func (*WebhookGoTSRPCProxy) ServeHTTP ¶
func (p *WebhookGoTSRPCProxy) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP exposes your service
Click to show internal directories.
Click to hide internal directories.