Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBackend ¶
func GetBackend(name string, v *viper.Viper, logger logrus.FieldLogger, pool *transport.TransportPool) (gostatsd.Backend, error)
GetBackend creates an instance of the named backend, or nil if the name is not known. The error return is only used if the named backend was known but failed to initialize.
func InitBackend ¶
func InitBackend(name string, v *viper.Viper, logger logrus.FieldLogger, pool *transport.TransportPool) (gostatsd.Backend, error)
InitBackend creates an instance of the named backend.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.