httputil

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2019 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package httputil provides an utility method to start an HTTP server in the context of a Stratumn Node service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

func StartServer(ctx context.Context, address string, handler http.Handler) error

StartServer starts an HTTP server that listens on the provided address. It will block until the context is done.

Types

This section is empty.

Directories

Path Synopsis
Package mockhttputil is a generated GoMock package.
Package mockhttputil is a generated GoMock package.

Jump to

Keyboard shortcuts

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