Documentation ¶
Overview ¶
package obx contain some help function for OpenObserve.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Host string User string Password string Organization string Stream string UserAgent string Secure bool }
Config confiugre used for create a OpenObserveClient instance
type OpenObserveClient ¶
type OpenObserveClient interface {
LogJson(data []byte)
}
OpenObserveClient OpenObserve client interface
func NewClient ¶
func NewClient(conf *Config, acc *hx.AsyncClientConf, fn hx.ResponseFn) OpenObserveClient
NewClient create OpenObserve client instance
Click to show internal directories.
Click to hide internal directories.