server

package
v0.0.0-...-02d3d6b Latest Latest
Warning

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

Go to latest
Published: May 10, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(port int, s key.Storage) error

Run a hancock REST server using s as the backend `key.Storage`.

Types

type Config

type Config struct {
	Host string `json:"host"`
	Port int    `json:"port"`
}

Config provides settings for the hancock REST server.

Jump to

Keyboard shortcuts

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