Documentation
¶
Index ¶
- type API
- func (a *API) Execute(ctx context.Context, qi *logsql.QueryInfo, params RequestParams) ([]byte, error)
- func (a *API) QueryLogs(ctx context.Context, logsQL string, params RequestParams) ([]byte, error)
- func (a *API) QueryStats(ctx context.Context, logsQL string, params RequestParams) ([]byte, error)
- func (a *API) QueryStatsRange(ctx context.Context, logsQL string, params RequestParams) ([]byte, error)
- func (a *API) SetHTTPClient(client *http.Client)
- type APIError
- type EndpointConfig
- type RequestParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func NewVLogsAPI ¶
func NewVLogsAPI(ec EndpointConfig, limit uint32) *API
func (*API) QueryStats ¶
func (*API) QueryStatsRange ¶
func (*API) SetHTTPClient ¶
type EndpointConfig ¶
type RequestParams ¶
type RequestParams struct {
EndpointConfig
Start string
End string
ExecMode string
}
Click to show internal directories.
Click to hide internal directories.