api

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiServer

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

func NewAPIServer

func NewAPIServer(
	ctx context.Context,
	log *zap.Logger,
	listenAddress string,
	enableReflection bool,
	registrationFunc RegistrationFunc,
) (*ApiServer, error)

func (*ApiServer) Addr

func (s *ApiServer) Addr() net.Addr

func (*ApiServer) Close

func (s *ApiServer) Close()

type RegistrationFunc added in v0.1.1

type RegistrationFunc func(server *grpc.Server) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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