client

package
v1.1.15 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 19 Imported by: 22

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSubstreamsClient

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

func NewSubstreamsInternalClient added in v1.0.2

func NewSubstreamsInternalClient(config *SubstreamsClientConfig) (cli pbssinternal.SubstreamsClient, closeFunc func() error, callOpts []grpc.CallOption, err error)

Types

type InternalClientFactory added in v1.0.2

type InternalClientFactory = func() (cli pbssinternal.SubstreamsClient, closeFunc func() error, callOpts []grpc.CallOption, err error)

func NewInternalClientFactory added in v1.0.2

func NewInternalClientFactory(config *SubstreamsClientConfig) InternalClientFactory

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) MarshalLogObject added in v1.1.3

func (c *SubstreamsClientConfig) MarshalLogObject(encoder zapcore.ObjectEncoder) error

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