Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage is interface structure
func New ¶
func New(config *config.ConfigData) *Storage
New func implements the storage interface for fmcsa_svr (https://github.com/pschlump/fmcsa_svr)
func (*Storage) Init ¶
Init client storage. Uses:
RedisConnectHost string `json:"redis_host" default:"$ENV$REDIS_HOST"` RedisConnectAuth string `json:"redis_auth" default:"$ENV$REDIS_AUTH"` RedisConnectPort string `json:"redis_port" default:"6379"` RedisCluster string `json:"redis_cluster" default:"no"`
Click to show internal directories.
Click to hide internal directories.