rest

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

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

Go to latest
Published: Mar 26, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Web config.WebServerConfiguration
}

Options for configuring the app

type Server

type Server interface {
	Close() error
	Start(address string) error
}

Server is a simple interface for a web server that can be started and stopped

func NewServer

func NewServer(options Options) (Server, error)

NewServer builds a new startable web server We're going to hide here that we use Echo, nobody needs to know from the outside

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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