ogen

package
v0.0.0-...-7a62f64 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CampLocalServer

type CampLocalServer struct {
	Api     *ogen_server.Rest
	Metrics *ogen_server.Metrics
}

func NewCampLocalServer

func NewCampLocalServer(handler camplocal.Handler, cfg Config) (*CampLocalServer, error)

func (*CampLocalServer) Start

func (s *CampLocalServer) Start(ctx context.Context) error

func (*CampLocalServer) Stop

func (s *CampLocalServer) Stop(ctx context.Context) error

type Config

type Config struct {
	ServiceName    string
	MetricsAddress string
	ApiAddress     string
	ApiKeys        []string
	AgentKeys      []string
}

Directories

Path Synopsis
smithy

Jump to

Keyboard shortcuts

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