usecase

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(filepath string, key string, registeredBy string, w http.ResponseWriter, r *http.Request)

Delete remove key

func Dump

func Dump(filepath string, w http.ResponseWriter)

Dump dumps all links in kvs

func DumpAsHTML added in v0.3.0

func DumpAsHTML(filepath string, w http.ResponseWriter)

DumpAsHTML dumps all links in kvs as html

func Get

func Get(filepath string, key string, params []string, w http.ResponseWriter, r *http.Request)

Get redirect to value url

func Put added in v0.5.0

func Put(filepath string, key string, link string, registeredBy string, isForce bool, w http.ResponseWriter, r *http.Request)

Put adds ew key value

Types

This section is empty.

Jump to

Keyboard shortcuts

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