Documentation
¶
Index ¶
- type Forward
- func (f *Forward) Forward(ctx context.Context, name string, args []interface{}) (result []interface{}, err error)
- func (f *Forward) IOHandler(ctx context.Context, request []byte, next core.NextIOHandler) (response []byte, err error)
- func (f *Forward) InvokeHandler(ctx context.Context, name string, args []interface{}, ...) (result []interface{}, err error)
- func (f *Forward) Unuse(handler ...core.PluginHandler) *Forward
- func (f *Forward) Use(handler ...core.PluginHandler) *Forward
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Forward ¶
Forward plugin for hprose.
func (*Forward) Forward ¶
func (f *Forward) Forward(ctx context.Context, name string, args []interface{}) (result []interface{}, err error)
Forward can be used as MissingMethod.
func (*Forward) IOHandler ¶
func (f *Forward) IOHandler(ctx context.Context, request []byte, next core.NextIOHandler) (response []byte, err error)
IOHandler for Forward.
func (*Forward) InvokeHandler ¶
func (f *Forward) InvokeHandler(ctx context.Context, name string, args []interface{}, next core.NextInvokeHandler) (result []interface{}, err error)
InvokeHandler for Forward.
Click to show internal directories.
Click to hide internal directories.