catalog_manager

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Providers

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

Providers with all the providers needed

type Service

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

Service structure in charge of launching the application.

func NewService

func NewService(cfg config.Config) *Service

NewService creates a new service with a given configuration

func (*Service) HealthzHandler

func (s *Service) HealthzHandler(w http.ResponseWriter, r *http.Request, pathParams map[string]string)

HealthzHandler to return 200 if called.

func (*Service) LaunchGRPCAdminService

func (s *Service) LaunchGRPCAdminService(providers *Providers)

Launch the gRPC admin service.

func (*Service) LaunchGRPCService

func (s *Service) LaunchGRPCService(providers *Providers)

LaunchGRPCService launches a server for gRPC requests.

func (*Service) LaunchHTTPService

func (s *Service) LaunchHTTPService()

LaunchHTTPService launches a server for HTTP requests.

func (*Service) Run

func (s *Service) Run()

Run method starting the internal components and launching the service

func (*Service) Shutdown

func (s *Service) Shutdown(providers *Providers)

Shutdown code

Jump to

Keyboard shortcuts

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