channel

package
v0.11.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: MIT Imports: 3 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// DefaultChannelAddress is the address that user application listen to
	DefaultChannelAddress = "127.0.0.1"

	// DefaultChannelRequestTimeout is the timeout when Dapr calls user app via app channel
	DefaultChannelRequestTimeout = time.Minute * 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppChannel

type AppChannel interface {
	GetBaseAddress() string
	InvokeMethod(ctx context.Context, req *invokev1.InvokeMethodRequest) (*invokev1.InvokeMethodResponse, error)
}

AppChannel is an abstraction over communications with user code

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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