Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inquirer ¶
type Inquirer interface {
PerDay(ctx context.Context, in PerDayInput) ([]RecordOfDay, error)
}
func NewTimestreamInquire ¶
func NewTimestreamInquire(sdk timestreamsdk.TimestreamQueryIface) Inquirer
type NewTimestreamRecorderInput ¶
type NewTimestreamRecorderInput struct { TimestreamWrite timestreamsdk.TimestreamWriteIface DatabaseName string TableName string MeasureName string }
type PerDayInput ¶
type RecordOfDay ¶
type Recorder ¶
type Recorder interface { // Do writes one time series data. // MeasureValue: 1 // MeasureValueType: BIGINT // TimeUnit: NANOSECONDS // Dimensions[0].Name: N // Dimensions[0].Value: N Do(ctx context.Context, t time.Time) error }
Recorder provides simple recording functions for Amazon Timestream.
func NewTimestreamRecorder ¶
func NewTimestreamRecorder(in *NewTimestreamRecorderInput) Recorder
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package simplemock is a generated GoMock package.
|
Package simplemock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.