http

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2024 License: MIT Imports: 17 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 {
	// contains filtered or unexported fields
}

func NewHttpServer

func NewHttpServer(logger *logrus.Logger) *HttpServer

func (*HttpServer) Setup

func (s *HttpServer) Setup(cfg *config.Config, deps *dependencies.Dependencies) (*HttpServer, error)

func (*HttpServer) Start

func (s *HttpServer) Start(_ context.Context) error

func (*HttpServer) Stop

func (s *HttpServer) Stop(ctx context.Context) error

func (*HttpServer) WaitStop

func (s *HttpServer) WaitStop(ctx context.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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