api

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package api is the HTTP API hander for a pijector server.

Index

Constants

View Source
const V1APIPrefix = "/api/v1"

Variables

This section is empty.

Functions

func HandleV1 added in v0.2.0

func HandleV1(router *mux.Router, screens []pijector.Screen)

HandleV1 API at V1APIPrefix under the router.

func New

func New(screens []pijector.Screen) http.Handler

New V1 Pijector API handler.

Types

This section is empty.

Jump to

Keyboard shortcuts

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