Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { Router *mux.Router GeoData map[string]models.AreasDataResults // contains filtered or unexported fields }
API provides a struct to wrap the api around
type RDSAreaStore ¶ added in v0.10.0
type RDSAreaStore interface { Init(ctx context.Context, cfg *config.Config) error Close() GetRelationships(areaCode, relationshipParameter string) ([]*models.AreaBasicData, error) ValidateArea(code string) error GetArea(ctx context.Context, areaId string) (*models.AreasDataResults, error) BuildTables(ctx context.Context, executionList []string) error Ping(ctx context.Context) error UpsertArea(ctx context.Context, area models.AreaParams) (bool, error) GetAncestors(areaID string) ([]models.AreasAncestors, error) }
RDSAreaStore represents all the required methods from aurora DB
Click to show internal directories.
Click to hide internal directories.