grpc

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: MIT Imports: 19 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientBuilder

type ClientBuilder struct {
	// contains filtered or unexported fields
}

func (*ClientBuilder) Timeout

func (b *ClientBuilder) Timeout(to time.Duration) *ClientBuilder

type EscrowClientBuilder

type EscrowClientBuilder struct {
	ClientBuilder
}

func EscrowClient

func EscrowClient(addr string) *EscrowClientBuilder

func (*EscrowClientBuilder) WithContext

func (g *EscrowClientBuilder) WithContext(ctx context.Context, f func(ctx context.Context,
	client escrowpb.EscrowServiceClient) error) error

type GuardClientBuilder

type GuardClientBuilder struct {
	ClientBuilder
}

func GuardClient

func GuardClient(addr string) *GuardClientBuilder

func (*GuardClientBuilder) WithContext

func (g *GuardClientBuilder) WithContext(ctx context.Context, f func(ctx context.Context,
	client guardpb.GuardServiceClient) error) error

type HealthCheckClientBuilder added in v0.1.8

type HealthCheckClientBuilder struct {
	ClientBuilder
}

func HealthCheckClient added in v0.1.8

func HealthCheckClient(addr string) *HealthCheckClientBuilder

func (*HealthCheckClientBuilder) WithContext added in v0.1.8

type HubQueryClientBuilder

type HubQueryClientBuilder struct {
	ClientBuilder
}

func HubQueryClient

func HubQueryClient(addr string) *HubQueryClientBuilder

func (*HubQueryClientBuilder) WithContext

func (g *HubQueryClientBuilder) WithContext(ctx context.Context, f func(ctx context.Context,
	client hubpb.HubQueryServiceClient) error) error

type LedgerClientBuilder added in v0.1.9

type LedgerClientBuilder struct {
	ClientBuilder
}

func LedgerClient added in v0.1.9

func LedgerClient(addr string) *LedgerClientBuilder

func (*LedgerClientBuilder) WithContext added in v0.1.9

func (g *LedgerClientBuilder) WithContext(ctx context.Context, f func(ctx context.Context,
	client ledgerpb.ChannelsClient) error) error

type RuntimeClientBuilder added in v0.1.8

type RuntimeClientBuilder struct {
	ClientBuilder
}

func RuntimeClient added in v0.1.8

func RuntimeClient(addr string) *RuntimeClientBuilder

func (*RuntimeClientBuilder) WithContext added in v0.1.8

func (g *RuntimeClientBuilder) WithContext(ctx context.Context, f func(ctx context.Context,
	client sharedpb.RuntimeServiceClient) error) error

type StatusClientBuilder

type StatusClientBuilder struct {
	ClientBuilder
}

func StatusClient

func StatusClient(addr string) *StatusClientBuilder

func (*StatusClientBuilder) WithContext

func (g *StatusClientBuilder) WithContext(ctx context.Context, f func(ctx context.Context,
	client statuspb.StatusServiceClient) error) error

Jump to

Keyboard shortcuts

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