Documentation
¶
Index ¶
- type API
- func (a *API) Execute(ctx context.Context, si *logsql.StatementInfo, customEC EndpointConfig) ([]byte, error)
- func (a *API) GetFieldNames(ctx context.Context, logsQL string, recEC EndpointConfig) ([]byte, error)
- func (a *API) Query(ctx context.Context, logsQL string, recEC EndpointConfig) ([]byte, error)
- func (a *API) SetHTTPClient(client *http.Client)
- type APIError
- type EndpointConfig
- type FieldNamesResponse
- type FieldNamesValue
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) Execute ¶
func (a *API) Execute(ctx context.Context, si *logsql.StatementInfo, customEC EndpointConfig) ([]byte, error)
func (*API) GetFieldNames ¶
func (*API) SetHTTPClient ¶
type EndpointConfig ¶
type FieldNamesResponse ¶
type FieldNamesResponse struct {
Values []FieldNamesValue `json:"values"`
}
type FieldNamesValue ¶
Click to show internal directories.
Click to hide internal directories.