types

package
v0.6.0-alpha6 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: Apache-2.0 Imports: 5 Imported by: 33

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressHash added in v0.6.0

func AddressHash(prefix string, contents []byte) []byte

Types

type Context added in v0.6.0

type Context struct {
	sdk.Context
}

func UnwrapSDKContext added in v0.6.0

func UnwrapSDKContext(ctx context.Context) Context

func (Context) Deadline added in v0.6.0

func (c Context) Deadline() (deadline time.Time, ok bool)

func (Context) Done added in v0.6.0

func (c Context) Done() <-chan struct{}

func (Context) Err added in v0.6.0

func (c Context) Err() error

type Invoker added in v0.6.0

type Invoker func(ctx context.Context, request, response interface{}, opts ...interface{}) error

type InvokerConn added in v0.6.0

type InvokerConn interface {
	grpc.ClientConnInterface
	Invoker(methodName string) (Invoker, error)
}

type ModuleID added in v0.6.0

type ModuleID struct {
	ModuleName string
	Path       []byte
}

func (ModuleID) Address added in v0.6.0

func (m ModuleID) Address() []byte

Directories

Path Synopsis
module

Jump to

Keyboard shortcuts

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