http

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2025 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpServerAPI added in v0.13.0

type HttpServerAPI interface {
	// SetupServer is the place where a service can adjust and initialize
	// everything it requires to successfully initialize the HTTP server later.
	SetupServer(
		serviceName string,
		logger interface{},
		router *router.Router,
		apiHandlers interface{},
		authHandler func(ctx context.Context, handlers map[string]interface{}) error,
	) error
}

HttpServerAPI is the behaviour that a service must implement to be accepted as a valid framework HTTP service.

Jump to

Keyboard shortcuts

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