rpc

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewH2cHTTPClient

func NewH2cHTTPClient() *http.Client

Types

type BuildrAPI

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

func NewServer

func NewServer(
	logger *slog.Logger,
	typeRegistryAccess services.TypeRegistryAccessor,
) *BuildrAPI

func (*BuildrAPI) Close

func (a *BuildrAPI) Close()

func (*BuildrAPI) Start

func (a *BuildrAPI) Start(ctx context.Context, address string) (err error)

type GrpcConfig

type GrpcConfig struct {
	Host struct {
		Address string `mapstructure:"grpc-serve-address"`
	} `mapstructure:",squash"`
}

func (*GrpcConfig) Flags

func (c *GrpcConfig) Flags() *flag.FlagSet

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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