server

package
v0.0.0-...-2410848 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2023 License: MIT Imports: 21 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
}

HTTPServer acts as the composition root for an application.

func (*HTTPServer) Start

func (s *HTTPServer) Start() error

func (*HTTPServer) Stop

func (s *HTTPServer) Stop() error

type Server

type Server interface {
	Start() error
	Stop() error
}

func NewHTTPServer

func NewHTTPServer(config config.Config) (Server, error)

Jump to

Keyboard shortcuts

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