web

package
v0.0.0-...-f3efba2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenAndServe

func ListenAndServe(addr string, ctx *context.Context) error

func ServeFile

func ServeFile(ctx *context.Context, w http.ResponseWriter, r *http.Request)

func StoreFile

func StoreFile(ctx *context.Context, w http.ResponseWriter, r *http.Request)

Types

type Claims

type Claims struct {
	Username string `json:"username"`
	jwt.StandardClaims
}

Jump to

Keyboard shortcuts

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