api

package
v0.0.0-...-03cefae Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Arma1JSONHandler

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

Arma1JSONHandler handles request for Arma1 as JSON

func Arma1XMLHandler

func Arma1XMLHandler(statics *static.Statics) http.HandlerFunc

Arma1XMLHandler handles requests for Arma1 as XML

func Arma2JSONHandler

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

Arma2JSONHandler handles request for Arma2 as JSON

func Arma2XMLHandler

func Arma2XMLHandler(statics *static.Statics) http.HandlerFunc

Arma2XMLHandler handles requests for Arma2 as XML

func Arma3JSONHandler

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

Arma3JSONHandler handles request for Arma3 as JSON

func Arma3XMLHandler

func Arma3XMLHandler(statics *static.Statics) http.HandlerFunc

Arma3XMLHandler handles requests for Arma3 as XML

func OfpJSONHandler

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

OfpJSONHandler handles request for OFP as JSON

func OfpXMLHandler

func OfpXMLHandler(statics *static.Statics) http.HandlerFunc

OfpXMLHandler handles requests for OFP as XML

Types

type Member

type Member struct {
	ID   string `xml:"id,attr"`
	Nick string `xml:"nick,attr"`
	Name string `xml:"name"`
}

Member model

type Squad

type Squad struct {
	XMLName string   `xml:"squad"`
	Nick    string   `xml:"nick,attr"`
	Email   string   `xml:"email"`
	Name    string   `xml:"name"`
	Picture string   `xml:"picture"`
	Title   string   `xml:"title"`
	Web     string   `xml:"web"`
	Members []Member `xml:"member"`
}

Squad model

Jump to

Keyboard shortcuts

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