router

package
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: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AudioFilesRoot string = "/wazuplay-files/audio"

AudioFilesRoot audio 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 audio server router

func UploadHandler

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

UploadHandler /upload

Types

type UploadAudioResponse

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

UploadAudioResponse upload audio response

Jump to

Keyboard shortcuts

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