Documentation
¶
Index ¶
- Variables
- func AVS(ctx context.Context, logfile string) (err error)
- func CDN(ctx context.Context, logfile string, maxNumRoutines int) (err error)
- func ElaboraAVS(ctx context.Context, line string, gw *gzip.Writer) (err error)
- func ElaboraCDN(ctx context.Context, line *string, gw *gzip.Writer) (err error)
- func ElaboraREGMAN(ctx context.Context, line *string, gw *gzip.Writer) (err error)
- func GestisciMailMultiple(line string) string
- func REGMAN(ctx context.Context, logfile string, maxNumRoutines int) (err error)
- type Fruizioni
- type RawURL
- type Utenti
- type Videoteca
- type Vod
Constants ¶
This section is empty.
Variables ¶
var AVSLock sync.Mutex
AVSLock gestisce l'accesso simultaneo alla scrittura sul file di output.
var CDNLock sync.Mutex
CDNLock gestisce l'accesso simultaneo alla scrittura sul file di output.
var NGASPLock sync.Mutex
NGASPLock gestisce l'accesso simultaneo alla scrittura sul file di output.
Functions ¶
func ElaboraAVS ¶
ElaboraAVS Crea il file csv compresso con i campi sensibili offuscati.
func ElaboraCDN ¶
ElaboraCDN crea il file csv compresso con i campi sensibili offuscati.
func ElaboraREGMAN ¶
ElaboraREGMAN crea il file csv compresso con i campi sensibili offuscati.
func GestisciMailMultiple ¶
GestisciMailMultiple permette di effettuare hashing di email cliente multiple nei log AVS.
Types ¶
type Fruizioni ¶
type Fruizioni struct {
Hashfruizione map[string]bool
Clientip map[string]string
Idvideoteca map[string]string
Idaps map[string]string
Edgeip map[string]string
Giorno map[string]string
Orario map[string]string
Details map[string][]float64 `json:"-"`
}
Fruizioni archivia tuttue le fruizioni effettuate.
type RawURL ¶
type RawURL struct {
URL string
}
RawURL rappresenta una qualsiasi URL
func (RawURL) GetIDVideoteca ¶
GetIDVideoteca estrae l'id univoco di videoteca se prensente.
func (RawURL) GetManifestURL ¶
GetManifestURL restituisce la URL del manifest di riferimento. Sono supportati DASH e SS
type Vod ¶
Vod è una struttura per archiviare i dati estratti.
func (Vod) GetIDVideoteca ¶
GetIDVideoteca estrae l'id univoco di videoteca se prensente.
func (Vod) GetManifestURL ¶
GetManifestURL restituisce la URL del manifest di riferimento. Sono supportati DASH e SS