gateway

package
Version: v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoopTransport

type NoopTransport struct {
}

func NewNoopTransport

func NewNoopTransport() *NoopTransport

func (*NoopTransport) SetHeader

func (n *NoopTransport) SetHeader(_ context.Context, key, value string)

type RPCTransport

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

func NewRPCTransport

func NewRPCTransport(l logger.Logger) *RPCTransport

func (*RPCTransport) SetHeader

func (g *RPCTransport) SetHeader(ctx context.Context, key, value string)

type Transport

type Transport interface {
	SetHeader(context.Context, string, string)
}

Source Files

Jump to

Keyboard shortcuts

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