Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RejectionLog ¶ added in v1.1.52
type RejectionLogSinkResponseHandler ¶ added in v1.1.52
type RejectionLogSinkResponseHandler struct { Config *config.Config ElasticsearchClient *elasticsearch.Client Index string }
func (*RejectionLogSinkResponseHandler) OnError ¶ added in v1.1.52
func (crh *RejectionLogSinkResponseHandler) OnError(ctx *SinkResponseHandlerContext)
func (*RejectionLogSinkResponseHandler) OnInit ¶ added in v1.1.52
func (crh *RejectionLogSinkResponseHandler) OnInit(ctx *SinkResponseHandlerInitContext)
func (*RejectionLogSinkResponseHandler) OnSuccess ¶ added in v1.1.52
func (crh *RejectionLogSinkResponseHandler) OnSuccess(_ *SinkResponseHandlerContext)
type SinkResponseHandler ¶
type SinkResponseHandler interface { OnSuccess(ctx *SinkResponseHandlerContext) OnError(ctx *SinkResponseHandlerContext) OnInit(ctx *SinkResponseHandlerInitContext) }
func NewRejectionLogSinkResponseHandler ¶ added in v1.1.52
func NewRejectionLogSinkResponseHandler() SinkResponseHandler
type SinkResponseHandlerContext ¶
type SinkResponseHandlerContext struct { Action *document.ESActionDocument Err error }
type SinkResponseHandlerInitContext ¶ added in v1.1.52
Source Files ¶
Click to show internal directories.
Click to hide internal directories.