fieldalignment of all structs to save memory

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-03-06 19:45:13 +03:00
parent cb70dfa664
commit bbbcb22565
65 changed files with 667 additions and 671 deletions

View File

@@ -10,11 +10,17 @@ import (
// Options holds the sync options
type Options struct {
Nodes []string
Prefix string
// Logger used for logging
Logger logger.Logger
// Tracer used for tracing
Tracer tracer.Tracer
Meter meter.Meter
// Meter used for merics
Meter meter.Meter
// Prefix holds prefix?
Prefix string
// Nodes holds the nodes
// TODO: change to Addrs ?
Nodes []string
}
// Option func signature