Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interceptor ¶
type Interceptor func(InvokeFunc) InvokeFunc
type InvokeFunc ¶
type InvokeOption ¶
type InvokeOption func(*InvokeOptions)
func WithInterceptor ¶
func WithInterceptor(i ...Interceptor) InvokeOption
type InvokeOptions ¶
type InvokeOptions struct {
Interceptors []Interceptor
}
type Message ¶
type Message interface {
FuncName() string
SetFuncName(string)
Parameters() []interface{}
SetParameters([]interface{})
Attachments() map[string]string
Attachment(string) (string, bool)
SetAttachment(string, string)
}
func NewMessage ¶
func NewMessage() Message
type Options ¶
type Options struct {
Name string
InvokeOptions InvokeOptions
}
Click to show internal directories.
Click to hide internal directories.