Documentation ¶
Index ¶
Constants ¶
View Source
const ( CREATE = iota DELETE ADD MADD QUERY )
Variables ¶
View Source
var ( EmptyCommandErr = errors.New("empty command string") UnknownCommandErr = errors.New("unknown command") CommandEndReachedErr = errors.New("command reached end, no new tokens available") MissingTimeSeriesNameErr = errors.New("missing timeseries name") MissingValueErr = errors.New("missing value") MissingTimeStampErr = errors.New("missing timestamp or aggregation rule, which can be:\n - RANGE upper lower\n - > timestamp-value \n - < timestamp-value\n - * for selecting all records") )
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewTimepipeClient ¶
func (*Client) SendCommand ¶
func (c *Client) SendCommand(cmdString string) (*TpResponse, error)
type TpResponse ¶
type TpResponse struct { Header protocol.Header Command Command Payload protocol.QueryResponsePacket }
func (TpResponse) String ¶
func (r TpResponse) String() string
Click to show internal directories.
Click to hide internal directories.