server

package
v0.0.0-...-a7699f7 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2018 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIGetFilePath

func APIGetFilePath(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func APISettings

func APISettings(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func FileImage

func FileImage(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

FileImage : to convert image location threw server

func Gamelist

func Gamelist(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

Gamelist for App

func GamelistPost

func GamelistPost(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

GamelistPost : To update the Game that was updated

func GetDataFromFile

func GetDataFromFile()

func Index

Index for Website

func Notification

func Notification(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

Notification for Website

func SaveDataToFile

func SaveDataToFile()

func SetXPoweredBy

func SetXPoweredBy(rw http.ResponseWriter, r *http.Request, next http.HandlerFunc)

func Settings

func Settings(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

Settings for Website

func StartServer

func StartServer()

func TwitchGameListAPI

func TwitchGameListAPI(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func TwitchTokenAPI

func TwitchTokenAPI(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func WSHandler

func WSHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

Types

type SaveFile

type SaveFile struct {
	FileLocation string `json:"filelocation"`
	CircleColor  string `json:"circlecolor"`
	TimerSetting int64  `json:"timersetting"`
	LogoPath     string `json:"logopath"`
}

Jump to

Keyboard shortcuts

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