api

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2025 License: PostgreSQL Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provide

func Provide(i *do.Injector)

Types

type Server

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

func NewServer

func NewServer(
	cfg config.Config,
	logger zerolog.Logger,
	v1Svc *apiv1.Service,
) *Server

func (*Server) Error

func (s *Server) Error() <-chan error

func (*Server) HandleInitializationError

func (s *Server) HandleInitializationError(err error)

HandleInitializationError takes an error that occurred during initialization and propagates it to the handlers so that it can be returned to clients that are waiting on a join or init cluster response.

func (*Server) ServePostInit

func (s *Server) ServePostInit(ctx context.Context) error

func (*Server) ServePreInit

func (s *Server) ServePreInit(ctx context.Context) error

func (*Server) Shutdown

func (s *Server) Shutdown() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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