http

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	Into() *web.Server
	Run() error
	Shutdown() error
	Addr() string
}

func NewProvider

func NewProvider(conf config.Config, serverOptions ...ServerOption) Provider

type ServerOption added in v0.4.0

type ServerOption func(option *web.Option)

Jump to

Keyboard shortcuts

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