local

package
v0.0.0-...-7d63ed4 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalServer

type LocalServer struct {
	Server *http.Server
	Router *routes.Router
}

func CreateLocal

func CreateLocal(ctx context.Context) *LocalServer

func (*LocalServer) Start

func (s *LocalServer) Start()

Start the Server listening for incoming requests

func (*LocalServer) Stop

func (s *LocalServer) Stop() error

Stop stops the Server listening

Jump to

Keyboard shortcuts

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