Documentation ¶
Index ¶
- type EntityTagCommand
- type Float32
- type Float64
- type Int16
- type Int32
- type Int64
- type MessageCommand
- func (self *MessageCommand) Entity() string
- func (self *MessageCommand) Message() string
- func (self *MessageCommand) SetEntity(entity string) *MessageCommand
- func (self *MessageCommand) SetMessage(message string) *MessageCommand
- func (self *MessageCommand) SetTag(name, value string) *MessageCommand
- func (self *MessageCommand) SetTimestamp(timestamp Millis) *MessageCommand
- func (self *MessageCommand) String() string
- func (self *MessageCommand) TagValue(name string) string
- func (self *MessageCommand) Tags() map[string]string
- func (self *MessageCommand) Timestamp() *Millis
- type Millis
- type NetworkConn
- func (self *NetworkConn) Close()
- func (self *NetworkConn) EntityTag(entityTagCommand *EntityTagCommand) error
- func (self *NetworkConn) Flush() error
- func (self *NetworkConn) Message(messageCommand *MessageCommand) error
- func (self *NetworkConn) Property(propertyCommand *PropertyCommand) error
- func (self *NetworkConn) Series(seriesCommand *SeriesCommand) error
- type Number
- type PropertyCommand
- func (self *PropertyCommand) Entity() string
- func (self *PropertyCommand) Key() map[string]string
- func (self *PropertyCommand) PropType() string
- func (self *PropertyCommand) SetAllTags(tags map[string]string) *PropertyCommand
- func (self *PropertyCommand) SetKey(key map[string]string) *PropertyCommand
- func (self *PropertyCommand) SetKeyPart(name, value string) *PropertyCommand
- func (self *PropertyCommand) SetTag(name, value string) *PropertyCommand
- func (self *PropertyCommand) SetTimestamp(timestamp Millis) *PropertyCommand
- func (self *PropertyCommand) String() string
- func (self *PropertyCommand) Tags() map[string]string
- func (self *PropertyCommand) Timestamp() *Millis
- type SeriesCommand
- func (self *SeriesCommand) Entity() string
- func (self *SeriesCommand) Metrics() map[string]Number
- func (self *SeriesCommand) SetMetricValue(metric string, value Number) *SeriesCommand
- func (self *SeriesCommand) SetTag(tag, value string) *SeriesCommand
- func (self *SeriesCommand) SetTimestamp(timestamp Millis) *SeriesCommand
- func (self *SeriesCommand) String() string
- func (self *SeriesCommand) Tags() map[string]string
- func (self *SeriesCommand) Timestamp() *Millis
- type Uint16
- type Uint32
- type Uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityTagCommand ¶
type EntityTagCommand struct {
// contains filtered or unexported fields
}
func NewEntityTagCommand ¶
func NewEntityTagCommand(entity, tagName, tagValue string) *EntityTagCommand
func (*EntityTagCommand) Entity ¶
func (self *EntityTagCommand) Entity() string
func (*EntityTagCommand) SetTag ¶
func (self *EntityTagCommand) SetTag(name, value string) *EntityTagCommand
func (*EntityTagCommand) String ¶
func (self *EntityTagCommand) String() string
func (*EntityTagCommand) Tags ¶
func (self *EntityTagCommand) Tags() map[string]string
type MessageCommand ¶
type MessageCommand struct {
// contains filtered or unexported fields
}
func NewMessageCommand ¶
func NewMessageCommand(entity, message string) *MessageCommand
func (*MessageCommand) Entity ¶
func (self *MessageCommand) Entity() string
func (*MessageCommand) Message ¶
func (self *MessageCommand) Message() string
func (*MessageCommand) SetEntity ¶
func (self *MessageCommand) SetEntity(entity string) *MessageCommand
func (*MessageCommand) SetMessage ¶
func (self *MessageCommand) SetMessage(message string) *MessageCommand
func (*MessageCommand) SetTag ¶
func (self *MessageCommand) SetTag(name, value string) *MessageCommand
func (*MessageCommand) SetTimestamp ¶
func (self *MessageCommand) SetTimestamp(timestamp Millis) *MessageCommand
func (*MessageCommand) String ¶
func (self *MessageCommand) String() string
func (*MessageCommand) TagValue ¶
func (self *MessageCommand) TagValue(name string) string
func (*MessageCommand) Tags ¶
func (self *MessageCommand) Tags() map[string]string
func (*MessageCommand) Timestamp ¶
func (self *MessageCommand) Timestamp() *Millis
type NetworkConn ¶
type NetworkConn struct {
// contains filtered or unexported fields
}
func DialTimeout ¶
func (*NetworkConn) Close ¶
func (self *NetworkConn) Close()
func (*NetworkConn) EntityTag ¶
func (self *NetworkConn) EntityTag(entityTagCommand *EntityTagCommand) error
func (*NetworkConn) Flush ¶
func (self *NetworkConn) Flush() error
func (*NetworkConn) Message ¶
func (self *NetworkConn) Message(messageCommand *MessageCommand) error
func (*NetworkConn) Property ¶
func (self *NetworkConn) Property(propertyCommand *PropertyCommand) error
func (*NetworkConn) Series ¶
func (self *NetworkConn) Series(seriesCommand *SeriesCommand) error
type PropertyCommand ¶
type PropertyCommand struct {
// contains filtered or unexported fields
}
func NewPropertyCommand ¶
func NewPropertyCommand(propType, entity, tagKey, tagVal string) *PropertyCommand
func (*PropertyCommand) Entity ¶
func (self *PropertyCommand) Entity() string
func (*PropertyCommand) Key ¶
func (self *PropertyCommand) Key() map[string]string
func (*PropertyCommand) PropType ¶
func (self *PropertyCommand) PropType() string
func (*PropertyCommand) SetAllTags ¶
func (self *PropertyCommand) SetAllTags(tags map[string]string) *PropertyCommand
func (*PropertyCommand) SetKey ¶
func (self *PropertyCommand) SetKey(key map[string]string) *PropertyCommand
func (*PropertyCommand) SetKeyPart ¶
func (self *PropertyCommand) SetKeyPart(name, value string) *PropertyCommand
func (*PropertyCommand) SetTag ¶
func (self *PropertyCommand) SetTag(name, value string) *PropertyCommand
func (*PropertyCommand) SetTimestamp ¶
func (self *PropertyCommand) SetTimestamp(timestamp Millis) *PropertyCommand
func (*PropertyCommand) String ¶
func (self *PropertyCommand) String() string
func (*PropertyCommand) Tags ¶
func (self *PropertyCommand) Tags() map[string]string
func (*PropertyCommand) Timestamp ¶
func (self *PropertyCommand) Timestamp() *Millis
type SeriesCommand ¶
type SeriesCommand struct {
// contains filtered or unexported fields
}
func NewSeriesCommand ¶
func NewSeriesCommand(entity, metricName string, metricValue Number) *SeriesCommand
func (*SeriesCommand) Entity ¶
func (self *SeriesCommand) Entity() string
func (*SeriesCommand) Metrics ¶
func (self *SeriesCommand) Metrics() map[string]Number
func (*SeriesCommand) SetMetricValue ¶
func (self *SeriesCommand) SetMetricValue(metric string, value Number) *SeriesCommand
func (*SeriesCommand) SetTag ¶
func (self *SeriesCommand) SetTag(tag, value string) *SeriesCommand
func (*SeriesCommand) SetTimestamp ¶
func (self *SeriesCommand) SetTimestamp(timestamp Millis) *SeriesCommand
func (*SeriesCommand) String ¶
func (self *SeriesCommand) String() string
func (*SeriesCommand) Tags ¶
func (self *SeriesCommand) Tags() map[string]string
func (*SeriesCommand) Timestamp ¶
func (self *SeriesCommand) Timestamp() *Millis
Click to show internal directories.
Click to hide internal directories.