server

package
v0.0.0-...-85aee89 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 11 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 struct {
	Context        context.Context
	Config         config.HTTPConfig
	HTTPConfigurer api.HTTPConfigurer
	Container      container.Container
}

HTTPServer http web server

func NewHTTPServer

func NewHTTPServer(context context.Context, c container.Container) *HTTPServer

NewHTTPServer 创建 http 服务

func (*HTTPServer) Run

func (server *HTTPServer) Run() func()

Run 运行Http Web服务

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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