Documentation ¶
Index ¶
Constants ¶
View Source
const (
SinkIn = "sink:in"
)
Variables ¶
View Source
var ( CExit = Result{Code: -4, Msg: "exit"} CExisted = Result{Code: -3, Msg: "existed"} CNotImplement = Result{Code: -2, Msg: "Not implement"} CDeadline = Result{Code: -1, Msg: "deadline"} CSuccess = Result{Msg: "Success"} CIgnore = Result{Code: 1, Msg: "Continue"} CEnd = Result{Code: 2, Msg: "End"} )
Functions ¶
This section is empty.
Types ¶
type DefaultSink ¶
type DefaultSink struct { }
type Flow ¶
type Flow struct {
// contains filtered or unexported fields
}
func (*Flow) SetResultFunc ¶
func (flow *Flow) SetResultFunc(fn OnFlowResult) *Flow
type OnFlowResult ¶
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
func NewProcessor ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.