Categorygithub.com/vench/statistica
modulepackage
0.2.0-dev
Repository: https://github.com/vench/statistica.git
Documentation: pkg.go.dev

# README

StatisticA

This package allows you to read statistics from various sources and return standard views.

Examples

  • Example of integration with HTTP server and sqlite link
  • Example of integration with ClickHouse link
  • Example of integration with CSV file link

TODO list

  • base struct
  • store config statistic
  • add examples - HTTP
  • fix integration test
  • operations
  • use generic

# Packages

No description provided by the author

# Functions

LoggerSQLRepositoryOption todo.
NewSQLRepository returns new instance of SQLRepository.
UnionItemsResponse union data struct ItemsResponse.
UnionValuesResponse union data struct ValuesResponse.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Dimension this struct describe dimensions model.
ItemRow this struct represent one row of statistic.
ItemsRequest this struct represents request query.
ItemsRequestFilter this struct represents request filter.
ItemsRequestOrder this struct represents request order options.
ItemsResponse this struct represents group response.
Metric this struct describe metrics model.
SQLRepository sql implementation of ReadRepository.
ValueResponse this struct represents value response.
ValuesResponse this struct represents values response.

# Interfaces

ReadRepository common read interface.
WriteRepository common write interface.

# Type aliases

No description provided by the author
DimensionKey special type for represent dimensions key.
SQLRepositoryOption todo.
ValueNumber special type for representation number value.