Versions in this module Expand all Collapse all v0 v0.11.2 Apr 18, 2023 v0.11.1 Feb 18, 2020 Changes in this version + type Config struct + FileBeginProc string + type FileConfig struct + Data []byte + ID int + Type LogType + type LogType int + const Journal + const Nginx + const Pg + func (lt LogType) String() string + type Service struct + Config *Config + DB *pgxpool.Pool + Log loggers.Contextual + func New(cfg Config, log loggers.Contextual, db *pgxpool.Pool) *Service + func (srv *Service) Auth(key string) (*FileConfig, error) + func (srv *Service) LoadFile(cfg *FileConfig, path, file, ctype string) (int, error)