Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { Mode AppMode `yaml:"mode"` Server struct { Host string `yaml:"host"` Port string `yaml:"port"` } `yaml:"server"` Database struct { Host string `yaml:"host"` Port string `yaml:"port"` User string `yaml:"user"` Pass string `yaml:"pass"` Name string `yaml:"name"` } `yaml:"database"` Coin struct { Xmr struct { Daemon AppConfigDaemon `yaml:"daemon"` } `yaml:"xmr"` } `yaml:"coin"` }
func NewAppConfig ¶
type AppConfigDaemon ¶
type RequestLoggingInterceptor ¶
type RequestLoggingInterceptor struct {
// contains filtered or unexported fields
}
func NewRequestLoggingInterceptor ¶
func NewRequestLoggingInterceptor(log *zerolog.Logger) *RequestLoggingInterceptor
func (*RequestLoggingInterceptor) Intercepte ¶
func (i *RequestLoggingInterceptor) Intercepte(ctx context.Context, req any, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (any, error)
Click to show internal directories.
Click to hide internal directories.