Documentation ¶
Index ¶
- func GetStringKeys(arr map[string]interface{}) []string
- func LoadTemplate(name, tmpl string) (*template.Template, error)
- func LoadYaml(config string, obj interface{}) (bool, error)
- func RemoveEmptyStrings(items []string) []string
- type HttpProcessor
- type Observability
- func (o *Observability) Debug(obj interface{}, args ...interface{})
- func (o *Observability) Error(obj interface{}, args ...interface{})
- func (o *Observability) Info(obj interface{}, args ...interface{})
- func (o *Observability) Logs() *sre.Logs
- func (o *Observability) Metrics() *sre.Metrics
- func (o *Observability) Warn(obj interface{}, args ...interface{})
- type Processor
- type Processors
- type Server
- type Servers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStringKeys ¶
func RemoveEmptyStrings ¶
Types ¶
type HttpProcessor ¶
type Observability ¶
type Observability struct {
// contains filtered or unexported fields
}
func NewObservability ¶
func NewObservability(logs *sre.Logs, metrics *sre.Metrics) *Observability
func (*Observability) Debug ¶
func (o *Observability) Debug(obj interface{}, args ...interface{})
func (*Observability) Error ¶
func (o *Observability) Error(obj interface{}, args ...interface{})
func (*Observability) Info ¶
func (o *Observability) Info(obj interface{}, args ...interface{})
func (*Observability) Logs ¶
func (o *Observability) Logs() *sre.Logs
func (*Observability) Metrics ¶
func (o *Observability) Metrics() *sre.Metrics
func (*Observability) Warn ¶
func (o *Observability) Warn(obj interface{}, args ...interface{})
type Processors ¶
type Processors struct {
// contains filtered or unexported fields
}
func NewProcessors ¶
func NewProcessors() *Processors
func (*Processors) Add ¶
func (ps *Processors) Add(p Processor)
func (*Processors) Find ¶
func (ps *Processors) Find(typ string) Processor
func (*Processors) FindHttpProcessor ¶
func (ps *Processors) FindHttpProcessor(typ string) HttpProcessor
Click to show internal directories.
Click to hide internal directories.