run

package
v0.50.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIServer

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

func NewAPIServer

func NewAPIServer(config *server.ServerConfig) *APIServer

func (*APIServer) Run

func (t *APIServer) Run(opts ...APIServerExtensionOpt) (func() error, error)

func (*APIServer) RunWithServer added in v0.31.0

func (t *APIServer) RunWithServer(e *echo.Echo) (func() error, error)

type APIServerExtensionOpt added in v0.33.0

type APIServerExtensionOpt func(config *server.ServerConfig) (*openapi3.T, func(*echo.Group, *populator.Populator) error, error)

APIServerExtensionOpt returns a spec and a way to register handlers with an echo group

Jump to

Keyboard shortcuts

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