Documentation ¶
Index ¶
- Constants
- func ApiResponse(w http.ResponseWriter, statusCode int, statusTxt string, data interface{})
- func ByteToBase10(b []byte) (n uint64, err error)
- func Commafy(i interface{}) string
- func GetChannelsForTopic(topic string, lookupdHTTPAddrs []string) ([]string, error)
- func GetTopicChannelArgs(rp Getter) (string, string, error)
- func StringAdd(s []string, a string) []string
- func StringUnion(s []string, a []interface{}) []string
- func TcpServer(listener net.Listener, handler TcpHandler)
- type Getter
- type MockConn
- type PostParams
- type ReqParams
- type StatsdClient
- func (c *StatsdClient) Close() error
- func (c *StatsdClient) CreateSocket() error
- func (c *StatsdClient) Decr(stat string, count int) error
- func (c *StatsdClient) Gauge(stat string, value int) error
- func (c *StatsdClient) Incr(stat string, count int) error
- func (c *StatsdClient) String() string
- func (c *StatsdClient) Timing(stat string, delta int) error
- type StringArray
- type TcpHandler
- type WaitGroupWrapper
Constants ¶
View Source
const BINARY_VERSION = "0.2.17"
Variables ¶
This section is empty.
Functions ¶
func ApiResponse ¶
func ApiResponse(w http.ResponseWriter, statusCode int, statusTxt string, data interface{})
func ByteToBase10 ¶ added in v0.2.16
func GetChannelsForTopic ¶
func StringUnion ¶
func TcpServer ¶
func TcpServer(listener net.Listener, handler TcpHandler)
Types ¶
type PostParams ¶ added in v0.2.17
type StatsdClient ¶ added in v0.2.16
type StatsdClient struct {
// contains filtered or unexported fields
}
func NewStatsdClient ¶ added in v0.2.16
func NewStatsdClient(addr string, prefix string) *StatsdClient
func (*StatsdClient) Close ¶ added in v0.2.16
func (c *StatsdClient) Close() error
func (*StatsdClient) CreateSocket ¶ added in v0.2.16
func (c *StatsdClient) CreateSocket() error
func (*StatsdClient) Decr ¶ added in v0.2.16
func (c *StatsdClient) Decr(stat string, count int) error
func (*StatsdClient) Gauge ¶ added in v0.2.16
func (c *StatsdClient) Gauge(stat string, value int) error
func (*StatsdClient) Incr ¶ added in v0.2.16
func (c *StatsdClient) Incr(stat string, count int) error
func (*StatsdClient) String ¶ added in v0.2.16
func (c *StatsdClient) String() string
type StringArray ¶
type StringArray []string
func (*StringArray) Set ¶
func (a *StringArray) Set(s string) error
func (*StringArray) String ¶
func (a *StringArray) String() string
type TcpHandler ¶
type WaitGroupWrapper ¶
func (*WaitGroupWrapper) Wrap ¶
func (w *WaitGroupWrapper) Wrap(cb func())
Source Files ¶
Click to show internal directories.
Click to hide internal directories.