docs

package
v0.0.0-...-795cddc Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: MIT Imports: 13 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 {
	Address string
	Targets []Target
}

type Target

type Target struct {
	Address string
	Spec    *swag.Spec
}

type Web

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

func NewWebServer

func NewWebServer(conf *Config) *Web

func (*Web) Identifier

func (w *Web) Identifier() string

func (*Web) Start

func (w *Web) Start(ctx context.Context) error

func (*Web) Stop

func (w *Web) Stop(ctx context.Context) error

Jump to

Keyboard shortcuts

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