endpoint

package
v0.0.0-...-d09eed2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const RemainingKey = "remaining"
View Source
const TAG = "endpoint"
View Source
const URIKey = "uri"

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint struct {
	api.Identifiable

	Identity   string                 `yaml:"id"`
	URI        string                 `yaml:"uri"`
	Parameters map[string]interface{} `yaml:"parameters,omitempty"`
}

func (*Endpoint) Consumer

func (e *Endpoint) Consumer(ctx api.Context, pid *actor.PID) (api.Consumer, error)

func (*Endpoint) ID

func (e *Endpoint) ID() string

func (*Endpoint) Producer

func (e *Endpoint) Producer(ctx api.Context) (api.Producer, error)

Jump to

Keyboard shortcuts

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