handler

package
Version: v0.0.0-...-ff7826b Latest Latest
Warning

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

Go to latest
Published: May 31, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAuthentication

func CheckAuthentication(c Configuration, ctx *fasthttp.RequestCtx) bool

func ConvertUrlToJson

func ConvertUrlToJson(url storage.Url) string

func Handler

func Handler(ctx *fasthttp.RequestCtx)

Types

type Configuration

type Configuration struct {
	Authentication          bool   `json:"authentication"`
	AuthenticationParameter string `json:"authenticationParameter"`
	AuthenticationToken     string `json:"authenticationToken"`
}

func (*Configuration) ParseConfig

func (c *Configuration) ParseConfig()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL