http

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 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 HttpServer

type HttpServer 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
}

HttpServer 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