apps

package
v0.0.0-...-a655b0a Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type HttpServer

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

func BuildServer

func BuildServer() (*HttpServer, error)

func NewHttpServer

func NewHttpServer(
	configs *configs.ServerConfiguration,
	prodHandler *handler.ProductCtlHandler,
	orderHandler *handler.OrderCtlHandler,
) *HttpServer

func (*HttpServer) RegisterHandler

func (h *HttpServer) RegisterHandler(path string, handler http.HandlerFunc)

func (*HttpServer) Start

func (h *HttpServer) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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