package
Version:
v0.0.0-...-c99e9fc
Opens a new window with list of versions in this module.
Published: Aug 17, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Addr string `json:"addr" env:"REDIS_ADDR" env-default:"0.0.0.0"`
Password string `json:"password" env:"REDIS_PASSWORD"`
DB int `json:"db" env:"REDIS_DB"`
}
Config is redis structure config.
Service wraps a redis client.
Dial connects grpc server and call Register method.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.