Help us shape the future of Go! Take the 2026 Go Developer Survey

run

package
v0.112.16 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 52 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) RunWithMiddlewares

func (t *APIServer) RunWithMiddlewares(middlewares []hatchetmiddleware.MiddlewareFunc, opts ...APIServerExtensionOpt) (func() error, error)

func (*APIServer) RunWithServer

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

type APIServerExtensionOpt

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