Documentation ¶
Index ¶
- func NowString() string
- type BatchResponse
- type ConnectionError
- type FileDoesNotExistError
- type PanicError
- type RRDIO
- type Response
- type Rrdcached
- func (r *Rrdcached) BatchFinalize() (*BatchResponse, error)
- func (r *Rrdcached) BatchStart() (*Response, error)
- func (r *Rrdcached) BatchUpdate(filename string, values ...string) (*Response, error)
- func (r *Rrdcached) Create(filename string, start int64, step int64, overwrite bool, ds []string, ...) (*Response, error)
- func (r *Rrdcached) CreateFromBatchResponses(batchResponse *BatchResponse, start int64, step int64, overwrite bool, ...) (*Response, error)
- func (r *Rrdcached) First(filename string, rraIndex int) (*Response, error)
- func (r *Rrdcached) Flush(filename string) (*Response, error)
- func (r *Rrdcached) FlushAll() (*Response, error)
- func (r *Rrdcached) Forget(filename string) (*Response, error)
- func (r *Rrdcached) GetStats() (*Stats, error)
- func (r *Rrdcached) Last(filename string) (*Response, error)
- func (r *Rrdcached) Pending(filename string) (*Response, error)
- func (r *Rrdcached) Quit()
- func (r *Rrdcached) Update(filename string, values ...string) (*Response, error)
- type Stats
- type UnknownCommandError
- type UnrecognizedArgumentError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BatchResponse ¶
type BatchResponse struct {
Responses []*Response
}
type ConnectionError ¶
type ConnectionError struct {
Err error
}
func (*ConnectionError) Error ¶
func (f *ConnectionError) Error() string
type FileDoesNotExistError ¶
type FileDoesNotExistError struct {
Err error
}
func (*FileDoesNotExistError) Error ¶
func (f *FileDoesNotExistError) Error() string
type PanicError ¶
type PanicError struct {
Err error
}
func (*PanicError) Error ¶
func (f *PanicError) Error() string
type Rrdcached ¶
type Rrdcached struct { Protocol string Socket string Ip string Port int64 Batch bool Conn net.Conn Rrdio RRDIO }
func ConnectToSocket ¶
func (*Rrdcached) BatchFinalize ¶
func (r *Rrdcached) BatchFinalize() (*BatchResponse, error)
func (*Rrdcached) BatchStart ¶
func (*Rrdcached) BatchUpdate ¶
func (*Rrdcached) CreateFromBatchResponses ¶
type UnknownCommandError ¶
type UnknownCommandError struct {
Err error
}
func (*UnknownCommandError) Error ¶
func (f *UnknownCommandError) Error() string
type UnrecognizedArgumentError ¶
type UnrecognizedArgumentError struct {
Err error
}
func (*UnrecognizedArgumentError) BadArgument ¶
func (f *UnrecognizedArgumentError) BadArgument() string
func (*UnrecognizedArgumentError) Error ¶
func (f *UnrecognizedArgumentError) Error() string
Click to show internal directories.
Click to hide internal directories.