server

package
v0.0.0-...-fd95350 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(config *configuration.Configuration) (http.Handler, error)

NewRouter returns an rossetta server handler with assertion, logging and cors support

func Run

func Run(config *configuration.Configuration, handler http.Handler) error

Run starts a http server using the provided handler with read, write, and idle timeouts

Types

This section is empty.

Jump to

Keyboard shortcuts

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