get

package
v0.0.0-...-0d2c564 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(srv Getter) http.HandlerFunc

NewHandler returns handler for get key requests.

Types

type Getter

type Getter interface {
	Get(r *http.Request, resp *response) error
}

Getter service for get key requests.

func NewService

func NewService(storage storage.Storage) Getter

NewService returns initialized service.

Jump to

Keyboard shortcuts

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