api

package
v0.0.0-...-df6d72d Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	HTTP *http.ServerConfig `yaml:"http" validate:"required"`
}

Config defines configuration for all API types we support (e.g. HTTP, gRPC)

func DefaultConfig

func DefaultConfig() *Config

type ServerManager

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

func NewServerManager

func NewServerManager(cfg *Config, tel *telemetry.Telemetry, router *routers.RouterManager) (*ServerManager, error)

func (*ServerManager) Shutdown

func (mgr *ServerManager) Shutdown(ctx context.Context) error

func (*ServerManager) Start

func (mgr *ServerManager) Start()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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