Directories
¶
Path | Synopsis |
---|---|
Package agent collects cpu and memory stat on local machine then send it to Server app by HTTP
|
Package agent collects cpu and memory stat on local machine then send it to Server app by HTTP |
config
Package config implements getting params from env/flags/config file
|
Package config implements getting params from env/flags/config file |
Package compress includes http server middleware for compressing data
|
Package compress includes http server middleware for compressing data |
Package encrypt includes middleware for decrypting request body if privateKey is set with parameters
|
Package encrypt includes middleware for decrypting request body if privateKey is set with parameters |
Package handlers includes http router configuration and http handlers for Server app
|
Package handlers includes http router configuration and http handlers for Server app |
Package logger includes singleton and http middleware for logging requests
|
Package logger includes singleton and http middleware for logging requests |
Package pg singleton includes Connect and Close functions for pgx driver of postgress
|
Package pg singleton includes Connect and Close functions for pgx driver of postgress |
Package pprofserv run pprof server on independent address
|
Package pprofserv run pprof server on independent address |
Package retry includes helping functions for retring capabilities
|
Package retry includes helping functions for retring capabilities |
Package server process incomming requests from Agent
|
Package server process incomming requests from Agent |
config
Package config implements getting params from env/flags/config file
|
Package config implements getting params from env/flags/config file |
Package signing includes http server middleware for request signature validation
|
Package signing includes http server middleware for request signature validation |
staticlint
|
|
customcheck
Package customcheck inludes static analyser for os.exit in main func of main package
|
Package customcheck inludes static analyser for os.exit in main func of main package |
publiccheck
Package publiccheck contains errcheck and nilaway analyzers
|
Package publiccheck contains errcheck and nilaway analyzers |
standartcheck
Package standartcheck contains all standart analysers from golang.org/x/tools/go/analysis/passes
|
Package standartcheck contains all standart analysers from golang.org/x/tools/go/analysis/passes |
staticcheck
Package staticcheck contains all analysers from package staticcheck with code prefix SA plus S1003
|
Package staticcheck contains all analysers from package staticcheck with code prefix SA plus S1003 |
Package storage includes repository implementations: MemStorage, HybridStorage, DbStorage, DTO objects and entities
|
Package storage includes repository implementations: MemStorage, HybridStorage, DbStorage, DTO objects and entities |
Click to show internal directories.
Click to hide internal directories.