api

package
v0.0.0-...-33c2882 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReqLogger

func ReqLogger(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)

func ReqRewriter

func ReqRewriter(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)

func SsdpDescription

func SsdpDescription(resp http.ResponseWriter, req *http.Request)

func StartServer

func StartServer(port string, configfile string, db *gorm.DB)

Types

type AssetHandler

type AssetHandler struct{}

func (*AssetHandler) ServeHTTP

func (a *AssetHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request)

type AuthHandler

type AuthHandler struct {
	// contains filtered or unexported fields
}

type Service

type Service struct {
	IP   string
	Port string
}

Jump to

Keyboard shortcuts

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