api

package
v0.0.0-...-741e748 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Routes map[string]string = map[string]string{
	"GET /{AssetUrl}":        "Get Asset",
	"GET /manage/url/{path}": "Fetch Asset Details By URL",
	"GET /manage/id/{id}":    "Fetch Asset Details By ID",
	"POST /manage":           "Create Asset",
}

Method Route - Handler Function Name

Functions

func AuthJwtWrap

func AuthJwtWrap(SecretKey string) func(next http.Handler) http.Handler

func MainRouter

func MainRouter(r *chi.Mux, config utils.Config, s handlers.Handler)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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