Documentation ¶
Index ¶
Constants ¶
View Source
const (
DeviceUIDHeader = "X-Device-UID"
)
Variables ¶
View Source
var ( ErrConnectionFailed = errors.New("connection failed") ErrNotFound = errors.New("not found") ErrForbidden = errors.New("forbidden") ErrUnknown = errors.New("unknown error") )
View Source
var ( ErrFirewallConnection = errors.New("failed to make the request to evaluate the firewall") ErrFirewallBlock = errors.New("a firewall rule prohibit this connection") )
Functions ¶
func WithAsynqWorker ¶ added in v0.17.0
func WithAsynqWorker(redisURI string) clientOption
Types ¶
type LeveledLogger ¶
func (*LeveledLogger) Debugf ¶ added in v0.9.0
func (l *LeveledLogger) Debugf(msg string, keysAndValues ...interface{})
func (*LeveledLogger) Errorf ¶ added in v0.9.0
func (l *LeveledLogger) Errorf(msg string, keysAndValues ...interface{})
func (*LeveledLogger) Warnf ¶ added in v0.9.0
func (l *LeveledLogger) Warnf(msg string, keysAndValues ...interface{})
Source Files ¶
Click to show internal directories.
Click to hide internal directories.