Documentation ¶
Index ¶
- Constants
- type AuthType
- type Headers
- type InternalClientFactory
- type SubstreamsClientConfig
- func (c *SubstreamsClientConfig) AuthToken() string
- func (c *SubstreamsClientConfig) AuthType() AuthType
- func (c *SubstreamsClientConfig) Endpoint() string
- func (c *SubstreamsClientConfig) Insecure() bool
- func (c *SubstreamsClientConfig) MarshalLogObject(encoder zapcore.ObjectEncoder) error
- func (c *SubstreamsClientConfig) PlainText() bool
Constants ¶
View Source
const ApiKeyHeader = "x-api-key"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Headers ¶ added in v1.3.6
func NewSubstreamsClient ¶
func NewSubstreamsClient(config *SubstreamsClientConfig) (cli pbsubstreamsrpc.StreamClient, closeFunc func() error, callOpts []grpc.CallOption, headers Headers, err error)
func NewSubstreamsInternalClient ¶ added in v1.0.2
func NewSubstreamsInternalClient(config *SubstreamsClientConfig) (cli pbssinternal.SubstreamsClient, closeFunc func() error, callOpts []grpc.CallOption, headers Headers, err error)
type InternalClientFactory ¶ added in v1.0.2
type InternalClientFactory = func() (cli pbssinternal.SubstreamsClient, closeFunc func() error, callOpts []grpc.CallOption, headers Headers, 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 (*SubstreamsClientConfig) AuthToken ¶ added in v1.3.6
func (c *SubstreamsClientConfig) AuthToken() string
func (*SubstreamsClientConfig) AuthType ¶ added in v1.3.6
func (c *SubstreamsClientConfig) AuthType() AuthType
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) 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
Click to show internal directories.
Click to hide internal directories.