Documentation ¶
Index ¶
- Constants
- type GatewayAPI
- func (gapi *GatewayAPI) Bind(root *chi.Mux) error
- func (gapi *GatewayAPI) CreateGatewayOnboard(w http.ResponseWriter, r *http.Request)
- func (gapi *GatewayAPI) FrequencyPlansAtLocation(w http.ResponseWriter, r *http.Request)
- func (gapi *GatewayAPI) GatewayDetailsByID(w http.ResponseWriter, r *http.Request)
- func (gapi *GatewayAPI) GatewayEventsByID(w http.ResponseWriter, r *http.Request)
- func (gapi *GatewayAPI) GatewayListByID(w http.ResponseWriter, r *http.Request)
- func (gapi *GatewayAPI) GatewayMap(w http.ResponseWriter, r *http.Request)
- func (gapi *GatewayAPI) GatewayMapRes0(w http.ResponseWriter, r *http.Request)
- func (gapi *GatewayAPI) GatewayOnboardByGatewayID(w http.ResponseWriter, r *http.Request)
- func (gapi *GatewayAPI) GatewayOnboardsByOwner(w http.ResponseWriter, r *http.Request)
- func (gapi *GatewayAPI) OwnedGateways(w http.ResponseWriter, r *http.Request)
- func (gapi *GatewayAPI) PendingGatewayEvents(w http.ResponseWriter, r *http.Request)
- func (gapi *GatewayAPI) Run(ctx context.Context)
- func (gapi *GatewayAPI) SupportedFrequencyPlans(w http.ResponseWriter, r *http.Request)
- type GatewayHex
- type GatewayHexInfo
- type PendingGatewayEventsResponse
- type Res0GatewayHex
- type ValidFrequencyPlansForLocation
Constants ¶
View Source
const MAP_DETAIL_RES = 7
View Source
const MAP_MAX_RES = 7
View Source
const MAP_OFFSET_RES = 3
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayAPI ¶
type GatewayAPI struct {
// contains filtered or unexported fields
}
func NewGatewayAPI ¶
func NewGatewayAPI() (*GatewayAPI, error)
func (*GatewayAPI) Bind ¶
func (gapi *GatewayAPI) Bind(root *chi.Mux) error
func (*GatewayAPI) CreateGatewayOnboard ¶
func (gapi *GatewayAPI) CreateGatewayOnboard(w http.ResponseWriter, r *http.Request)
func (*GatewayAPI) FrequencyPlansAtLocation ¶
func (gapi *GatewayAPI) FrequencyPlansAtLocation(w http.ResponseWriter, r *http.Request)
func (*GatewayAPI) GatewayDetailsByID ¶
func (gapi *GatewayAPI) GatewayDetailsByID(w http.ResponseWriter, r *http.Request)
func (*GatewayAPI) GatewayEventsByID ¶
func (gapi *GatewayAPI) GatewayEventsByID(w http.ResponseWriter, r *http.Request)
func (*GatewayAPI) GatewayListByID ¶
func (gapi *GatewayAPI) GatewayListByID(w http.ResponseWriter, r *http.Request)
func (*GatewayAPI) GatewayMap ¶
func (gapi *GatewayAPI) GatewayMap(w http.ResponseWriter, r *http.Request)
func (*GatewayAPI) GatewayMapRes0 ¶
func (gapi *GatewayAPI) GatewayMapRes0(w http.ResponseWriter, r *http.Request)
func (*GatewayAPI) GatewayOnboardByGatewayID ¶
func (gapi *GatewayAPI) GatewayOnboardByGatewayID(w http.ResponseWriter, r *http.Request)
func (*GatewayAPI) GatewayOnboardsByOwner ¶
func (gapi *GatewayAPI) GatewayOnboardsByOwner(w http.ResponseWriter, r *http.Request)
func (*GatewayAPI) OwnedGateways ¶
func (gapi *GatewayAPI) OwnedGateways(w http.ResponseWriter, r *http.Request)
func (*GatewayAPI) PendingGatewayEvents ¶
func (gapi *GatewayAPI) PendingGatewayEvents(w http.ResponseWriter, r *http.Request)
func (*GatewayAPI) Run ¶
func (gapi *GatewayAPI) Run(ctx context.Context)
func (*GatewayAPI) SupportedFrequencyPlans ¶
func (gapi *GatewayAPI) SupportedFrequencyPlans(w http.ResponseWriter, r *http.Request)
type GatewayHex ¶
type GatewayHex struct {
Hexes map[string]GatewayHexInfo `json:"hexes,omitempty"`
}
type GatewayHexInfo ¶
type PendingGatewayEventsResponse ¶
type PendingGatewayEventsResponse struct { Confirmations uint64 `json:"confirmations"` SyncedTo uint64 `json:"syncedTo"` Events []*types.GatewayEvent `json:"events"` }
type Res0GatewayHex ¶
type Res0GatewayHex struct {
Hexes map[string]GatewayHex `json:"hexes,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.