http

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 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 Server

type Server struct {
	// contains filtered or unexported fields
}

func NewHttpServer

func NewHttpServer(
	ctx context.Context,
	host string,
	port string,
	transportProto string,
	apiVersionPrefix string,
	renderVersionPrefix string,
	staticVersionPrefix string,
	restControllers []controller.Controller,
	renderControllers []controller.Controller,
	staticControllers []controller.Controller,
	logger logger.Logger,
	reqParamsExtractor *request.ParametersExtractor,
) *Server

func (*Server) Listen

func (s *Server) Listen(ctx context.Context, wg *sync.WaitGroup)

Jump to

Keyboard shortcuts

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