Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Waiter Path string Interval time.Duration Logger *slog.Logger // contains filtered or unexported fields }
Server imports the demographics data on a regular basis and exposes data APIs to callers
func (*Server) GetForAgeBracket ¶ added in v2.2.0
GetForAgeBracket returns the number of people within a specific age bracket. Set High to math.Inf(+1) to return all people older than a given age
func (*Server) GetForRegion ¶ added in v2.2.0
GetForRegion returns the number of people in each region
Click to show internal directories.
Click to hide internal directories.