Documentation
¶
Index ¶
- Variables
- func AdminClient() *resty.Client
- func AdminTLSClient() *resty.Client
- func DB() *db.DB
- func FileCountLine(filename string) (int, error)
- func FileHasLine(filename string, regex string) (bool, error)
- func FileLine(filename string, n int) (string, error)
- func GenerateTraceID() string
- func GetDeafultWorkspace() (*entities.Workspace, error)
- func InitDB(truncated bool, entities *EntitiesConfig) *db.DB
- func InitOtelOutput()
- func PathExist(_path string) bool
- func ProxyClient() *resty.Client
- func ProxyTLSClient() *resty.Client
- func Start(envs map[string]string) (*app.Application, error)
- func StatusClient() *resty.Client
- func TruncateFile(filename string) error
- type EntitiesConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var ( OtelCollectorTracesFile = test.FilePath("output/otel/traces.json") OtelCollectorMetricsFile = test.FilePath("output/otel/metrics.json") )
Functions ¶
func AdminClient ¶
func AdminClient() *resty.Client
func AdminTLSClient ¶ added in v0.5.0
func AdminTLSClient() *resty.Client
func FileCountLine ¶ added in v0.3.0
func GenerateTraceID ¶ added in v0.4.0
func GenerateTraceID() string
func GetDeafultWorkspace ¶ added in v0.4.0
func InitOtelOutput ¶ added in v0.4.0
func InitOtelOutput()
func ProxyClient ¶
func ProxyClient() *resty.Client
func ProxyTLSClient ¶ added in v0.5.0
func ProxyTLSClient() *resty.Client
func Start ¶
func Start(envs map[string]string) (*app.Application, error)
Start starts WebhookX with given environment variables
func StatusClient ¶ added in v0.8.0
func StatusClient() *resty.Client
func TruncateFile ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.