api

package
v0.0.0-...-264aa39 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

API is the primary interface for fast-shortener

func InitAPI

func InitAPI(config *config.Configuration) *API

InitAPI creates an API from a given configuration

func (*API) RequestHandler

func (a *API) RequestHandler(ctx *fasthttp.RequestCtx)

RequestHandler serves all requests to the API

Jump to

Keyboard shortcuts

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