rest

package
v1.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rest

type Rest struct {
	Endpoint  string
	Path      string
	Namespace string
}

func (*Rest) Forward

func (*Rest) Forward(target provider.Target, data interface{}) (response interface{}, err error)

func (*Rest) GoToTarget

func (r *Rest) GoToTarget(data map[string]interface{}, stop chan struct{}) (interface{}, error)

func (*Rest) Name

func (*Rest) Name() string

func (*Rest) RegisterListener

func (r *Rest) RegisterListener(handle listener.Handle) error

func (*Rest) UnregisterListener

func (r *Rest) UnregisterListener()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL