router

package
v0.0.0-...-17ece98 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server interface {
	// GetV1 is responsible for `GET /api/v1/{Schema.ID}` request handling.
	GetV1(http.ResponseWriter, *http.Request)
	// Input is responsible for `POST /api/v1/{Schema.ID}` request handling.
	Input(http.ResponseWriter, *http.Request)
}

Server defines the behavior of the Forma server.

Directories

Path Synopsis
chi

Jump to

Keyboard shortcuts

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