Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Cache map[string]map[int]MapDataCache
)
Functions ¶
This section is empty.
Types ¶
type HttpEndpoints ¶
type HttpEndpoints struct {
// contains filtered or unexported fields
}
func NewHTTPHandler ¶
func NewHTTPHandler( contentDB *contentdb.ContentDBService, readOnlyAPIKeys []string, readWriteAPIKeys []string, instanceIDs []string, mapDataStoringDuration int, assetsDir string, ) *HttpEndpoints
func (*HttpEndpoints) AddContentAPI ¶
func (h *HttpEndpoints) AddContentAPI(rg *gin.RouterGroup)
func (*HttpEndpoints) AddContentManagementAPI ¶
func (h *HttpEndpoints) AddContentManagementAPI(rg *gin.RouterGroup)
type MapDataCache ¶ added in v0.3.0
type MapDataCache struct { LastUpdated int64 Data types.ReportMapData }
Click to show internal directories.
Click to hide internal directories.