router

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

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

Go to latest
Published: Jun 9, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ImageFilesRoot string = "/wazuplay-files/images"

ImageFilesRoot image files root

Functions

func GetHandler

func GetHandler(w http.ResponseWriter, r *http.Request)

GetHandler /*

func IndexHandler

func IndexHandler(w http.ResponseWriter, r *http.Request)

IndexHandler /

func NewRouter

func NewRouter() *mux.Router

NewRouter oauth server router

func UploadHandler

func UploadHandler(w http.ResponseWriter, r *http.Request)

UploadHandler /upload

Types

type UploadImageResponse

type UploadImageResponse struct {
	URL string `json:"url"`
}

UploadImageResponse upload image response

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