client

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: GPL-3.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetStatusAPIResponse

type GetStatusAPIResponse struct {
	HasMessage bool
	Messages   []Message
	Hash       string
}

GetStatusAPIResponse Incident status

func GetStatus

func GetStatus(streetID int, building string) (*GetStatusAPIResponse, error)

GetStatus gets current incident status message

type Message

type Message struct {
	Title       string
	Description string
}

type Street

type Street struct {
	ID   int
	Name string
}

Street street from the 1562 database

type StreetIndexMap

type StreetIndexMap map[int]int

type StreetsList

type StreetsList []Street

StreetsList list of streets

Jump to

Keyboard shortcuts

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