grpcui

package
v0.0.0-...-3ec0304 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrCannotCreateClientConnection = "cannot create grpc client connection"
	ErrCannotCreateHandler          = "cannot create grpcui handler"
	ErrServerError                  = "error serving up grpcui"

	LogStartingServerListAddress = "listenAddress"
	LogStartingServerMessage     = "starting server"
)
View Source
const (
	LoggingPackageName = "internal.apiserver.grpcui"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Message string
	Err     error
}

func (*Error) Error

func (e *Error) Error() string

type Server

type Server interface {
	Serve()
}

func New

func New(inputConfig ServerConfiguration) Server

type ServerConfiguration

type ServerConfiguration struct {
	GRPCConnectPort string
	WebListenPort   string

	Context           context.Context
	ErrorChannel      chan<- error
	GRPCDialerOptions []grpc.DialOption
	Logger            *zap.Logger
}

Jump to

Keyboard shortcuts

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