client

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: Apache-2.0 Imports: 17 Imported by: 23

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSubstreamsClient

func NewSubstreamsClient(config *SubstreamsClientConfig) (cli pbsubstreams.StreamClient, closeFunc func() error, callOpts []grpc.CallOption, err error)

Types

type Factory added in v0.0.21

type Factory = func() (cli pbsubstreams.StreamClient, closeFunc func() error, callOpts []grpc.CallOption, err error)

func NewFactory added in v0.0.21

func NewFactory(config *SubstreamsClientConfig) Factory

type SubstreamsClientConfig added in v0.0.21

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

func NewSubstreamsClientConfig added in v0.0.21

func NewSubstreamsClientConfig(endpoint string, jwt string, insecure bool, plaintext bool) *SubstreamsClientConfig

func (*SubstreamsClientConfig) Endpoint added in v0.1.0

func (c *SubstreamsClientConfig) Endpoint() string

func (*SubstreamsClientConfig) Insecure added in v0.1.0

func (c *SubstreamsClientConfig) Insecure() bool

func (*SubstreamsClientConfig) JWT added in v0.1.0

func (c *SubstreamsClientConfig) JWT() string

func (*SubstreamsClientConfig) PlainText added in v0.1.0

func (c *SubstreamsClientConfig) PlainText() bool

Jump to

Keyboard shortcuts

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