Documentation ¶
Index ¶
- Constants
- func ApiResponse(w http.ResponseWriter, statusCode int, statusTxt string, data interface{})
- func GetChannelsForTopic(topic string, lookupdHTTPAddrs []string) ([]string, error)
- func GetTopicChannelArgs(rp *ReqParams) (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 MockConn
- type ReqParams
- type StringArray
- type TcpHandler
- type WaitGroupWrapper
Constants ¶
View Source
const BINARY_VERSION = "0.2.15"
Variables ¶
This section is empty.
Functions ¶
func ApiResponse ¶
func ApiResponse(w http.ResponseWriter, statusCode int, statusTxt string, data interface{})
func GetChannelsForTopic ¶
func StringUnion ¶
func TcpServer ¶
func TcpServer(listener net.Listener, handler TcpHandler)
Types ¶
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.