SYMBOL INDEX (1336 symbols across 121 files) FILE: apps/nsq_stat/nsq_stat.go type numValue (line 36) | type numValue struct method String (line 41) | func (nv *numValue) String() string { return "N" } method Set (line 43) | func (nv *numValue) Set(s string) error { function init (line 53) | func init() { function statLoop (line 59) | func statLoop(interval time.Duration, connectTimeout time.Duration, requ... function checkAddrs (line 123) | func checkAddrs(addrs []string) error { function main (line 132) | func main() { FILE: apps/nsq_tail/nsq_tail.go function init (line 31) | func init() { type TailHandler (line 37) | type TailHandler struct method HandleMessage (line 43) | func (th *TailHandler) HandleMessage(m *nsq.Message) error { function main (line 71) | func main() { FILE: apps/nsq_to_file/file_logger.go type FileLogger (line 18) | type FileLogger struct method HandleMessage (line 76) | func (f *FileLogger) HandleMessage(m *nsq.Message) error { method router (line 82) | func (f *FileLogger) router() { method Close (line 163) | func (f *FileLogger) Close() { method Write (line 227) | func (f *FileLogger) Write(p []byte) (int, error) { method Sync (line 233) | func (f *FileLogger) Sync() error { method currentFilename (line 251) | func (f *FileLogger) currentFilename() string { method needsRotation (line 257) | func (f *FileLogger) needsRotation() bool { method updateFile (line 284) | func (f *FileLogger) updateFile() { function NewFileLogger (line 40) | func NewFileLogger(logf lg.AppLogFunc, opts *Options, topic string, cfg ... function makeDirFromPath (line 369) | func makeDirFromPath(logf lg.AppLogFunc, path string) error { function exclusiveRename (line 377) | func exclusiveRename(src, dst string) error { function computeFilenameFormat (line 391) | func computeFilenameFormat(opts *Options, topic string) (string, error) { FILE: apps/nsq_to_file/nsq_to_file.go function flagSet (line 21) | func flagSet() *flag.FlagSet { function main (line 61) | func main() { FILE: apps/nsq_to_file/options.go type Options (line 5) | type Options struct function NewOptions (line 33) | func NewOptions() *Options { FILE: apps/nsq_to_file/strftime.go function strftime (line 43) | func strftime(format string, t time.Time) string { FILE: apps/nsq_to_file/topic_discoverer.go type TopicDiscoverer (line 15) | type TopicDiscoverer struct method updateTopics (line 39) | func (t *TopicDiscoverer) updateTopics(topics []string) { method run (line 65) | func (t *TopicDiscoverer) run() { method isTopicAllowed (line 95) | func (t *TopicDiscoverer) isTopicAllowed(topic string) bool { function newTopicDiscoverer (line 26) | func newTopicDiscoverer(logf lg.AppLogFunc, opts *Options, cfg *nsq.Conf... FILE: apps/nsq_to_http/http.go function init (line 14) | func init() { function HTTPGet (line 18) | func HTTPGet(endpoint string) (*http.Response, error) { function HTTPPost (line 30) | func HTTPPost(endpoint string, body *bytes.Buffer) (*http.Response, erro... FILE: apps/nsq_to_http/nsq_to_http.go constant ModeAll (line 31) | ModeAll = iota constant ModeRoundRobin (line 32) | ModeRoundRobin constant ModeHostPool (line 33) | ModeHostPool function init (line 59) | func init() { type Publisher (line 67) | type Publisher interface type PublishHandler (line 71) | type PublishHandler struct method HandleMessage (line 84) | func (ph *PublishHandler) HandleMessage(m *nsq.Message) error { type PostPublisher (line 124) | type PostPublisher struct method Publish (line 126) | func (p *PostPublisher) Publish(addr string, msg []byte) error { type GetPublisher (line 141) | type GetPublisher struct method Publish (line 143) | func (p *GetPublisher) Publish(addr string, msg []byte) error { function main (line 158) | func main() { function parseCustomHeaders (line 293) | func parseCustomHeaders(strs []string) (map[string]string, error) { FILE: apps/nsq_to_http/nsq_to_http_test.go function TestParseCustomHeaders (line 11) | func TestParseCustomHeaders(t *testing.T) { FILE: apps/nsq_to_nsq/nsq_to_nsq.go constant ModeRoundRobin (line 28) | ModeRoundRobin = iota constant ModeHostPool (line 29) | ModeHostPool function init (line 51) | func init() { type PublishHandler (line 59) | type PublishHandler struct method responder (line 82) | func (ph *PublishHandler) responder() { method shouldPassMessage (line 123) | func (ph *PublishHandler) shouldPassMessage(js map[string]interface{})... method HandleMessage (line 205) | func (ph *PublishHandler) HandleMessage(m *nsq.Message, destinationTop... type TopicHandler (line 77) | type TopicHandler struct method HandleMessage (line 201) | func (t *TopicHandler) HandleMessage(m *nsq.Message) error { function filterMessage (line 168) | func filterMessage(js map[string]interface{}, rawMsg []byte) ([]byte, er... function main (line 257) | func main() { FILE: apps/nsqadmin/main.go function nsqadminFlagSet (line 20) | func nsqadminFlagSet(opts *nsqadmin.Options) *flag.FlagSet { type program (line 66) | type program struct method Init (line 78) | func (p *program) Init(env svc.Environment) error { method Start (line 86) | func (p *program) Start() error { method Stop (line 125) | func (p *program) Stop() error { function main (line 71) | func main() { function logFatal (line 132) | func logFatal(f string, args ...interface{}) { FILE: apps/nsqadmin/main_test.go function TestConfigFlagParsing (line 12) | func TestConfigFlagParsing(t *testing.T) { FILE: apps/nsqadmin/options.go type config (line 9) | type config method Validate (line 12) | func (cfg config) Validate() { FILE: apps/nsqd/main.go type program (line 21) | type program struct method Init (line 33) | func (p *program) Init(env svc.Environment) error { method Start (line 68) | func (p *program) Start() error { method Stop (line 89) | func (p *program) Stop() error { method Handle (line 96) | func (p *program) Handle(s os.Signal) error { method Context (line 101) | func (p *program) Context() context.Context { function main (line 26) | func main() { function logFatal (line 105) | func logFatal(f string, args ...interface{}) { function applyBackwardCompatibility (line 110) | func applyBackwardCompatibility(opts *nsqd.Options, flagSet *flag.FlagSe... FILE: apps/nsqd/main_test.go function TestConfigFlagParsing (line 15) | func TestConfigFlagParsing(t *testing.T) { FILE: apps/nsqd/options.go type tlsRequiredOption (line 15) | type tlsRequiredOption method Set (line 17) | func (t *tlsRequiredOption) Set(s string) error { method Get (line 32) | func (t *tlsRequiredOption) Get() interface{} { return int(*t) } method String (line 34) | func (t *tlsRequiredOption) String() string { method IsBoolFlag (line 38) | func (t *tlsRequiredOption) IsBoolFlag() bool { return true } type tlsMinVersionOption (line 40) | type tlsMinVersionOption method Set (line 52) | func (t *tlsMinVersionOption) Set(s string) error { method Get (line 66) | func (t *tlsMinVersionOption) Get() interface{} { return uint16(*t) } method String (line 68) | func (t *tlsMinVersionOption) String() string { type config (line 77) | type config method Validate (line 80) | func (cfg config) Validate() { function nsqdFlagSet (line 116) | func nsqdFlagSet(opts *nsqd.Options) *flag.FlagSet { FILE: apps/nsqlookupd/main.go function nsqlookupdFlagSet (line 19) | func nsqlookupdFlagSet(opts *nsqlookupd.Options) *flag.FlagSet { type program (line 40) | type program struct method Init (line 52) | func (p *program) Init(env svc.Environment) error { method Start (line 60) | func (p *program) Start() error { method Stop (line 99) | func (p *program) Stop() error { function main (line 45) | func main() { function logFatal (line 106) | func logFatal(f string, args ...interface{}) { FILE: apps/nsqlookupd/main_test.go function TestConfigFlagParsing (line 12) | func TestConfigFlagParsing(t *testing.T) { FILE: apps/nsqlookupd/options.go type config (line 9) | type config method Validate (line 12) | func (cfg config) Validate() { FILE: apps/to_nsq/to_nsq.go function init (line 30) | func init() { function main (line 34) | func main() { function readAndPublish (line 128) | func readAndPublish(r *bufio.Reader, delim byte, producers map[string]*n... FILE: bench/bench.py function ssh_connect_with_retries (line 34) | def ssh_connect_with_retries(host, retries=3, timeout=30): function ssh_cmd_async (line 48) | def ssh_cmd_async(ssh_client, cmd): function ssh_cmd (line 55) | def ssh_cmd(ssh_client, cmd, timeout=2): function get_session (line 81) | def get_session(): function _bootstrap (line 85) | def _bootstrap(addr): function bootstrap (line 105) | def bootstrap(): function run (line 144) | def run(): function _find_instances (line 263) | def _find_instances(): function decomm (line 270) | def decomm(): FILE: bench/bench_channels/bench_channels.go function main (line 19) | func main() { function subWorker (line 39) | func subWorker(n int, tcpAddr string, FILE: bench/bench_reader/bench_reader.go function main (line 30) | func main() { function subWorker (line 71) | func subWorker(td time.Duration, workers int, tcpAddr string, topic stri... FILE: bench/bench_writer/bench_writer.go function main (line 28) | func main() { function pubWorker (line 74) | func pubWorker(td time.Duration, tcpAddr string, batchSize int, batch []... FILE: internal/app/float_array.go type FloatArray (line 11) | type FloatArray method Get (line 13) | func (a *FloatArray) Get() interface{} { return []float64(*a) } method Set (line 15) | func (a *FloatArray) Set(param string) error { method Swap (line 28) | func (a FloatArray) Swap(i, j int) { a[i], a[j] = a[j], a[i] } method Less (line 29) | func (a FloatArray) Less(i, j int) bool { return a[i] > a[j] } method Len (line 30) | func (a FloatArray) Len() int { return len(a) } method String (line 32) | func (a *FloatArray) String() string { FILE: internal/app/string_array.go type StringArray (line 7) | type StringArray method Get (line 9) | func (a *StringArray) Get() interface{} { return []string(*a) } method Set (line 11) | func (a *StringArray) Set(s string) error { method String (line 16) | func (a *StringArray) String() string { FILE: internal/auth/authorizations.go type Authorization (line 16) | type Authorization struct method HasPermission (line 30) | func (a *Authorization) HasPermission(permission string) bool { method IsAllowed (line 39) | func (a *Authorization) IsAllowed(topic, channel string) bool { type State (line 22) | type State struct method IsAllowed (line 65) | func (a *State) IsAllowed(topic, channel string) bool { method IsExpired (line 74) | func (a *State) IsExpired() bool { function QueryAnyAuthd (line 78) | func QueryAnyAuthd(authd []string, remoteIP string, tlsEnabled bool, com... function QueryAuthd (line 99) | func QueryAuthd(authd string, remoteIP string, tlsEnabled bool, commonNa... FILE: internal/clusterinfo/data.go type PartialErr (line 18) | type PartialErr interface type ErrList (line 23) | type ErrList method Error (line 25) | func (l ErrList) Error() string { method Errors (line 33) | func (l ErrList) Errors() []error { type ClusterInfo (line 37) | type ClusterInfo struct method logf (line 49) | func (c *ClusterInfo) logf(f string, args ...interface{}) { method GetVersion (line 56) | func (c *ClusterInfo) GetVersion(addr string) (semver.Version, error) { method GetLookupdTopics (line 73) | func (c *ClusterInfo) GetLookupdTopics(lookupdHTTPAddrs []string) ([]s... method GetLookupdTopicChannels (line 122) | func (c *ClusterInfo) GetLookupdTopicChannels(topic string, lookupdHTT... method GetLookupdProducers (line 170) | func (c *ClusterInfo) GetLookupdProducers(lookupdHTTPAddrs []string) (... method GetLookupdTopicProducers (line 240) | func (c *ClusterInfo) GetLookupdTopicProducers(topic string, lookupdHT... method GetNSQDTopics (line 292) | func (c *ClusterInfo) GetNSQDTopics(nsqdHTTPAddrs []string) ([]string,... method GetNSQDProducers (line 343) | func (c *ClusterInfo) GetNSQDProducers(nsqdHTTPAddrs []string) (Produc... method GetNSQDTopicProducers (line 432) | func (c *ClusterInfo) GetNSQDTopicProducers(topic string, nsqdHTTPAddr... method GetNSQDStats (line 544) | func (c *ClusterInfo) GetNSQDStats(producers Producers, method TombstoneNodeForTopic (line 644) | func (c *ClusterInfo) TombstoneNodeForTopic(topic string, node string,... method CreateTopicChannel (line 684) | func (c *ClusterInfo) CreateTopicChannel(topicName string, channelName... method DeleteTopic (line 736) | func (c *ClusterInfo) DeleteTopic(topicName string, lookupdHTTPAddrs [... method DeleteChannel (line 777) | func (c *ClusterInfo) DeleteChannel(topicName string, channelName stri... method PauseTopic (line 817) | func (c *ClusterInfo) PauseTopic(topicName string, lookupdHTTPAddrs []... method UnPauseTopic (line 822) | func (c *ClusterInfo) UnPauseTopic(topicName string, lookupdHTTPAddrs ... method PauseChannel (line 827) | func (c *ClusterInfo) PauseChannel(topicName string, channelName strin... method UnPauseChannel (line 832) | func (c *ClusterInfo) UnPauseChannel(topicName string, channelName str... method EmptyTopic (line 837) | func (c *ClusterInfo) EmptyTopic(topicName string, lookupdHTTPAddrs []... method EmptyChannel (line 842) | func (c *ClusterInfo) EmptyChannel(topicName string, channelName strin... method actionHelper (line 847) | func (c *ClusterInfo) actionHelper(topicName string, lookupdHTTPAddrs ... method GetProducers (line 874) | func (c *ClusterInfo) GetProducers(lookupdHTTPAddrs []string, nsqdHTTP... method GetTopicProducers (line 881) | func (c *ClusterInfo) GetTopicProducers(topicName string, lookupdHTTPA... method nsqlookupdPOST (line 888) | func (c *ClusterInfo) nsqlookupdPOST(addrs []string, uri string, qs st... method producersPOST (line 904) | func (c *ClusterInfo) producersPOST(pl Producers, uri string, qs strin... function New (line 42) | func New(log lg.AppLogFunc, client *http_api.Client) *ClusterInfo { FILE: internal/clusterinfo/producer_test.go function TestHostNameAddresses (line 5) | func TestHostNameAddresses(t *testing.T) { function TestIPv4Addresses (line 20) | func TestIPv4Addresses(t *testing.T) { function TestIPv6Addresses (line 35) | func TestIPv6Addresses(t *testing.T) { FILE: internal/clusterinfo/types.go type ProducerTopic (line 14) | type ProducerTopic struct type ProducerTopics (line 19) | type ProducerTopics method Len (line 21) | func (pt ProducerTopics) Len() int { return len(pt) } method Swap (line 22) | func (pt ProducerTopics) Swap(i, j int) { pt[i], pt[j] = pt[j], p... method Less (line 23) | func (pt ProducerTopics) Less(i, j int) bool { return pt[i].Topic < pt... type Producer (line 25) | type Producer struct method UnmarshalJSON (line 41) | func (p *Producer) UnmarshalJSON(b []byte) error { method Address (line 78) | func (p *Producer) Address() string { method HTTPAddress (line 85) | func (p *Producer) HTTPAddress() string { method TCPAddress (line 89) | func (p *Producer) TCPAddress() string { method IsInconsistent (line 96) | func (p *Producer) IsInconsistent(numLookupd int) bool { type TopicStats (line 100) | type TopicStats struct method Add (line 119) | func (t *TopicStats) Add(a *TopicStats) { type ChannelStats (line 155) | type ChannelStats struct method Add (line 181) | func (c *ChannelStats) Add(a *ChannelStats) { type ClientStats (line 213) | type ClientStats struct method UnmarshalJSON (line 246) | func (s *ClientStats) UnmarshalJSON(b []byte) error { method HasUserAgent (line 257) | func (s *ClientStats) HasUserAgent() bool { method HasSampleRate (line 261) | func (s *ClientStats) HasSampleRate() bool { type ChannelStatsList (line 265) | type ChannelStatsList method Len (line 267) | func (c ChannelStatsList) Len() int { return len(c) } method Swap (line 268) | func (c ChannelStatsList) Swap(i, j int) { c[i], c[j] = c[j], c[i] } type ChannelStatsByHost (line 270) | type ChannelStatsByHost struct method Less (line 274) | func (c ChannelStatsByHost) Less(i, j int) bool { type ClientStatsList (line 278) | type ClientStatsList method Len (line 280) | func (c ClientStatsList) Len() int { return len(c) } method Swap (line 281) | func (c ClientStatsList) Swap(i, j int) { c[i], c[j] = c[j], c[i] } type ClientsByHost (line 283) | type ClientsByHost struct method Less (line 287) | func (c ClientsByHost) Less(i, j int) bool { type ClientStatsByNodeTopology (line 291) | type ClientStatsByNodeTopology struct method Less (line 295) | func (c ClientStatsByNodeTopology) Less(i, j int) bool { type TopicStatsList (line 320) | type TopicStatsList method Len (line 322) | func (t TopicStatsList) Len() int { return len(t) } method Swap (line 323) | func (t TopicStatsList) Swap(i, j int) { t[i], t[j] = t[j], t[i] } type TopicStatsByHost (line 325) | type TopicStatsByHost struct method Less (line 329) | func (c TopicStatsByHost) Less(i, j int) bool { type Producers (line 333) | type Producers method Len (line 335) | func (t Producers) Len() int { return len(t) } method Swap (line 336) | func (t Producers) Swap(i, j int) { t[i], t[j] = t[j], t[i] } method HTTPAddrs (line 338) | func (t Producers) HTTPAddrs() []string { method Search (line 346) | func (t Producers) Search(needle string) *Producer { type ProducersByHost (line 355) | type ProducersByHost struct method Less (line 359) | func (c ProducersByHost) Less(i, j int) bool { FILE: internal/dirlock/dirlock.go type DirLock (line 12) | type DirLock struct method Lock (line 23) | func (l *DirLock) Lock() error { method Unlock (line 36) | func (l *DirLock) Unlock() error { function New (line 17) | func New(dir string) *DirLock { FILE: internal/dirlock/dirlock_illumos.go type DirLock (line 6) | type DirLock struct method Lock (line 16) | func (l *DirLock) Lock() error { method Unlock (line 20) | func (l *DirLock) Unlock() error { function New (line 10) | func New(dir string) *DirLock { FILE: internal/dirlock/dirlock_windows.go type DirLock (line 6) | type DirLock struct method Lock (line 16) | func (l *DirLock) Lock() error { method Unlock (line 20) | func (l *DirLock) Unlock() error { function New (line 10) | func New(dir string) *DirLock { FILE: internal/http_api/api_request.go function NewDeadlineTransport (line 18) | func NewDeadlineTransport(connectTimeout time.Duration, requestTimeout t... type Client (line 34) | type Client struct method GETV1 (line 51) | func (c *Client) GETV1(endpoint string, v interface{}) error { method POSTV1 (line 90) | func (c *Client) POSTV1(endpoint string, data url.Values, v interface{... function NewClient (line 38) | func NewClient(tlsConfig *tls.Config, connectTimeout time.Duration, requ... function httpsEndpoint (line 139) | func httpsEndpoint(endpoint string, body []byte) (string, error) { FILE: internal/http_api/api_response.go type Decorator (line 14) | type Decorator type APIHandler (line 16) | type APIHandler type Err (line 18) | type Err struct method Error (line 23) | func (e Err) Error() string { function PlainText (line 27) | func PlainText(f APIHandler) APIHandler { function V1 (line 49) | func V1(f APIHandler) APIHandler { function RespondV1 (line 61) | func RespondV1(w http.ResponseWriter, code int, data interface{}) { function Decorate (line 99) | func Decorate(f APIHandler, ds ...Decorator) httprouter.Handle { function Log (line 109) | func Log(logf lg.AppLogFunc) Decorator { function LogPanicHandler (line 126) | func LogPanicHandler(logf lg.AppLogFunc) func(w http.ResponseWriter, req... function LogNotFoundHandler (line 135) | func LogNotFoundHandler(logf lg.AppLogFunc) http.Handler { function LogMethodNotAllowedHandler (line 143) | func LogMethodNotAllowedHandler(logf lg.AppLogFunc) http.Handler { FILE: internal/http_api/compress.go type compressResponseWriter (line 17) | type compressResponseWriter struct method Header (line 23) | func (w *compressResponseWriter) Header() http.Header { method WriteHeader (line 27) | func (w *compressResponseWriter) WriteHeader(c int) { method Write (line 32) | func (w *compressResponseWriter) Write(b []byte) (int, error) { function CompressHandler (line 43) | func CompressHandler(h http.Handler) http.Handler { FILE: internal/http_api/http_server.go type logWriter (line 13) | type logWriter struct method Write (line 17) | func (l logWriter) Write(p []byte) (int, error) { function Serve (line 22) | func Serve(listener net.Listener, handler http.Handler, proto string, lo... FILE: internal/http_api/req_params.go type ReqParams (line 10) | type ReqParams struct method Get (line 29) | func (r *ReqParams) Get(key string) (string, error) { method GetAll (line 37) | func (r *ReqParams) GetAll(key string) ([]string, error) { function NewReqParams (line 15) | func NewReqParams(req *http.Request) (*ReqParams, error) { FILE: internal/http_api/topic_channel_args.go type getter (line 9) | type getter interface function GetTopicChannelArgs (line 13) | func GetTopicChannelArgs(rp getter) (string, string, error) { FILE: internal/lg/lg.go constant DEBUG (line 12) | DEBUG = LogLevel(1) constant INFO (line 13) | INFO = LogLevel(2) constant WARN (line 14) | WARN = LogLevel(3) constant ERROR (line 15) | ERROR = LogLevel(4) constant FATAL (line 16) | FATAL = LogLevel(5) type AppLogFunc (line 19) | type AppLogFunc type Logger (line 21) | type Logger interface type NilLogger (line 25) | type NilLogger struct method Output (line 27) | func (l NilLogger) Output(maxdepth int, s string) error { type LogLevel (line 31) | type LogLevel method Get (line 33) | func (l *LogLevel) Get() interface{} { return *l } method Set (line 35) | func (l *LogLevel) Set(s string) error { method String (line 44) | func (l *LogLevel) String() string { function ParseLogLevel (line 60) | func ParseLogLevel(levelstr string) (LogLevel, error) { function Logf (line 76) | func Logf(logger Logger, cfgLevel LogLevel, msgLevel LogLevel, f string,... function LogFatal (line 83) | func LogFatal(prefix string, f string, args ...interface{}) { FILE: internal/lg/lg_test.go type mockLogger (line 9) | type mockLogger struct method Output (line 13) | func (l *mockLogger) Output(maxdepth int, s string) error { function TestLogging (line 18) | func TestLogging(t *testing.T) { FILE: internal/pqueue/pqueue.go type Item (line 7) | type Item struct type PriorityQueue (line 15) | type PriorityQueue method Len (line 21) | func (pq PriorityQueue) Len() int { method Less (line 25) | func (pq PriorityQueue) Less(i, j int) bool { method Swap (line 29) | func (pq PriorityQueue) Swap(i, j int) { method Push (line 35) | func (pq *PriorityQueue) Push(x interface{}) { method Pop (line 49) | func (pq *PriorityQueue) Pop() interface{} { method PeekAndShift (line 63) | func (pq *PriorityQueue) PeekAndShift(max int64) (*Item, int64) { function New (line 17) | func New(capacity int) PriorityQueue { FILE: internal/pqueue/pqueue_test.go function equal (line 13) | func equal(t *testing.T, act, exp interface{}) { function TestPriorityQueue (line 22) | func TestPriorityQueue(t *testing.T) { function TestUnsortedInsert (line 39) | func TestUnsortedInsert(t *testing.T) { function TestRemove (line 60) | func TestRemove(t *testing.T) { FILE: internal/protocol/byte_base10.go function ByteToBase10 (line 9) | func ByteToBase10(b []byte) (n uint64, err error) { FILE: internal/protocol/byte_base10_test.go function BenchmarkByteToBase10Valid (line 9) | func BenchmarkByteToBase10Valid(b *testing.B) { function BenchmarkByteToBase10Invalid (line 18) | func BenchmarkByteToBase10Invalid(b *testing.B) { FILE: internal/protocol/errors.go type ChildErr (line 3) | type ChildErr interface type ClientErr (line 11) | type ClientErr struct method Error (line 18) | func (e *ClientErr) Error() string { method Parent (line 23) | func (e *ClientErr) Parent() error { function NewClientErr (line 28) | func NewClientErr(parent error, code string, description string) *Client... type FatalClientErr (line 32) | type FatalClientErr struct method Error (line 39) | func (e *FatalClientErr) Error() string { method Parent (line 44) | func (e *FatalClientErr) Parent() error { function NewFatalClientErr (line 49) | func NewFatalClientErr(parent error, code string, description string) *F... FILE: internal/protocol/names.go function IsValidTopicName (line 10) | func IsValidTopicName(name string) bool { function IsValidChannelName (line 15) | func IsValidChannelName(name string) bool { function isValidName (line 19) | func isValidName(name string) bool { FILE: internal/protocol/protocol.go type Client (line 9) | type Client interface type Protocol (line 14) | type Protocol interface function SendResponse (line 21) | func SendResponse(w io.Writer, data []byte) (int, error) { function SendFramedResponse (line 37) | func SendFramedResponse(w io.Writer, frameType int32, data []byte) (int,... FILE: internal/protocol/tcp_server.go type TCPHandler (line 13) | type TCPHandler interface function TCPServer (line 17) | func TCPServer(listener net.Listener, handler TCPHandler, logf lg.AppLog... FILE: internal/quantile/aggregate.go type E2eProcessingLatencyAggregate (line 9) | type E2eProcessingLatencyAggregate struct method UnmarshalJSON (line 17) | func (e *E2eProcessingLatencyAggregate) UnmarshalJSON(b []byte) error { method Len (line 46) | func (e *E2eProcessingLatencyAggregate) Len() int { return len(e.Perce... method Swap (line 47) | func (e *E2eProcessingLatencyAggregate) Swap(i, j int) { method Less (line 50) | func (e *E2eProcessingLatencyAggregate) Less(i, j int) bool { method Add (line 55) | func (e *E2eProcessingLatencyAggregate) Add(e2 *E2eProcessingLatencyAg... FILE: internal/quantile/quantile.go type Result (line 12) | type Result struct method String (line 17) | func (r *Result) String() string { type Quantile (line 25) | type Quantile struct method Result (line 50) | func (q *Quantile) Result() *Result { method Insert (line 66) | func (q *Quantile) Insert(msgStartTime int64) { method QueryHandler (line 78) | func (q *Quantile) QueryHandler() *quantile.Stream { method IsDataStale (line 92) | func (q *Quantile) IsDataStale(now time.Time) bool { method Merge (line 96) | func (q *Quantile) Merge(them *Quantile) { method moveWindow (line 115) | func (q *Quantile) moveWindow() { function New (line 36) | func New(WindowTime time.Duration, Percentiles []float64) *Quantile { FILE: internal/statsd/client.go type Client (line 8) | type Client struct method Incr (line 20) | func (c *Client) Incr(stat string, count int64) error { method Decr (line 24) | func (c *Client) Decr(stat string, count int64) error { method Timing (line 28) | func (c *Client) Timing(stat string, delta int64) error { method Gauge (line 32) | func (c *Client) Gauge(stat string, value int64) error { method send (line 36) | func (c *Client) send(stat string, format string, value int64) error { function NewClient (line 13) | func NewClient(w io.Writer, prefix string) *Client { FILE: internal/statsd/host.go function HostKey (line 7) | func HostKey(h string) string { FILE: internal/stringy/slice.go function Add (line 3) | func Add(s []string, a string) []string { function Union (line 13) | func Union(s []string, a []string) []string { function Uniq (line 29) | func Uniq(s []string) (r []string) { FILE: internal/stringy/slice_test.go function BenchmarkUniq (line 9) | func BenchmarkUniq(b *testing.B) { function TestUniq (line 19) | func TestUniq(t *testing.T) { FILE: internal/stringy/template.go function NanoSecondToHuman (line 7) | func NanoSecondToHuman(v float64) string { FILE: internal/test/assertions.go function Equal (line 10) | func Equal(t *testing.T, expected, actual interface{}) { function NotEqual (line 19) | func NotEqual(t *testing.T, expected, actual interface{}) { function Nil (line 28) | func Nil(t *testing.T, object interface{}) { function NotNil (line 37) | func NotNil(t *testing.T, object interface{}) { function isNil (line 46) | func isNil(object interface{}) bool { FILE: internal/test/fakes.go type FakeNetConn (line 8) | type FakeNetConn struct method Read (line 19) | func (f FakeNetConn) Read(b []byte) (int, error) { return f.Re... method Write (line 20) | func (f FakeNetConn) Write(b []byte) (int, error) { return f.Wr... method Close (line 21) | func (f FakeNetConn) Close() error { return f.Cl... method LocalAddr (line 22) | func (f FakeNetConn) LocalAddr() net.Addr { return f.Lo... method RemoteAddr (line 23) | func (f FakeNetConn) RemoteAddr() net.Addr { return f.Re... method SetDeadline (line 24) | func (f FakeNetConn) SetDeadline(t time.Time) error { return f.Se... method SetReadDeadline (line 25) | func (f FakeNetConn) SetReadDeadline(t time.Time) error { return f.Se... method SetWriteDeadline (line 26) | func (f FakeNetConn) SetWriteDeadline(t time.Time) error { return f.Se... type fakeNetAddr (line 28) | type fakeNetAddr struct method Network (line 30) | func (fakeNetAddr) Network() string { return "" } method String (line 31) | func (fakeNetAddr) String() string { return "" } function NewFakeNetConn (line 33) | func NewFakeNetConn() FakeNetConn { FILE: internal/test/logger.go type Logger (line 3) | type Logger interface type tbLog (line 7) | type tbLog interface type testLogger (line 11) | type testLogger struct method Output (line 15) | func (tl *testLogger) Output(maxdepth int, s string) error { function NewTestLogger (line 20) | func NewTestLogger(tbl tbLog) Logger { FILE: internal/util/rand.go function UniqRands (line 7) | func UniqRands(quantity int, maxval int) []int { FILE: internal/util/unix_socket.go function TypeOfAddr (line 7) | func TypeOfAddr(addr string) string { FILE: internal/util/util_test.go function BenchmarkUniqRands5of5 (line 9) | func BenchmarkUniqRands5of5(b *testing.B) { function BenchmarkUniqRands20of20 (line 14) | func BenchmarkUniqRands20of20(b *testing.B) { function BenchmarkUniqRands20of50 (line 20) | func BenchmarkUniqRands20of50(b *testing.B) { function TestUniqRands (line 26) | func TestUniqRands(t *testing.T) { function TestTypeOfAddr (line 38) | func TestTypeOfAddr(t *testing.T) { FILE: internal/util/wait_group_wrapper.go type WaitGroupWrapper (line 7) | type WaitGroupWrapper struct method Wrap (line 11) | func (w *WaitGroupWrapper) Wrap(cb func()) { FILE: internal/version/binary.go constant Binary (line 8) | Binary = "1.3.0" function String (line 10) | func String(app string) string { FILE: internal/writers/boundary_buffered_writer.go type BoundaryBufferedWriter (line 8) | type BoundaryBufferedWriter struct method Write (line 18) | func (b *BoundaryBufferedWriter) Write(p []byte) (int, error) { method Flush (line 28) | func (b *BoundaryBufferedWriter) Flush() error { function NewBoundaryBufferedWriter (line 12) | func NewBoundaryBufferedWriter(w io.Writer, size int) *BoundaryBufferedW... FILE: internal/writers/spread_writer.go type SpreadWriter (line 8) | type SpreadWriter struct method Write (line 24) | func (s *SpreadWriter) Write(p []byte) (int, error) { method Flush (line 31) | func (s *SpreadWriter) Flush() { function NewSpreadWriter (line 15) | func NewSpreadWriter(w io.Writer, interval time.Duration, exitCh chan in... FILE: nsqadmin/gulpfile.js function excludeVendor (line 27) | function excludeVendor(b) { function bytesToKB (line 33) | function bytesToKB(bytes) { return Math.floor(+bytes/1024); } function logBundle (line 35) | function logBundle(filename, watching) { function sassTask (line 50) | function sassTask(root, inputFile) { function browserifyTask (line 64) | function browserifyTask(root, inputFile) { function watchTask (line 98) | function watchTask(root) { function cleanTask (line 113) | function cleanTask() { FILE: nsqadmin/http.go function maybeWarnMsg (line 28) | func maybeWarnMsg(msgs []string) string { function NewSingleHostReverseProxy (line 36) | func NewSingleHostReverseProxy(target *url.URL, connectTimeout time.Dura... type httpServer (line 51) | type httpServer struct method ServeHTTP (line 125) | func (s *httpServer) ServeHTTP(w http.ResponseWriter, req *http.Reques... method pingHandler (line 129) | func (s *httpServer) pingHandler(w http.ResponseWriter, req *http.Requ... method indexHandler (line 133) | func (s *httpServer) indexHandler(w http.ResponseWriter, req *http.Req... method staticAssetHandler (line 169) | func (s *httpServer) staticAssetHandler(w http.ResponseWriter, req *ht... method topicsHandler (line 212) | func (s *httpServer) topicsHandler(w http.ResponseWriter, req *http.Re... method topicHandler (line 264) | func (s *httpServer) topicHandler(w http.ResponseWriter, req *http.Req... method channelHandler (line 303) | func (s *httpServer) channelHandler(w http.ResponseWriter, req *http.R... method nodesHandler (line 340) | func (s *httpServer) nodesHandler(w http.ResponseWriter, req *http.Req... method nodeHandler (line 360) | func (s *httpServer) nodeHandler(w http.ResponseWriter, req *http.Requ... method tombstoneNodeForTopicHandler (line 411) | func (s *httpServer) tombstoneNodeForTopicHandler(w http.ResponseWrite... method createTopicChannelHandler (line 451) | func (s *httpServer) createTopicChannelHandler(w http.ResponseWriter, ... method deleteTopicHandler (line 498) | func (s *httpServer) deleteTopicHandler(w http.ResponseWriter, req *ht... method deleteChannelHandler (line 527) | func (s *httpServer) deleteChannelHandler(w http.ResponseWriter, req *... method topicActionHandler (line 557) | func (s *httpServer) topicActionHandler(w http.ResponseWriter, req *ht... method channelActionHandler (line 562) | func (s *httpServer) channelActionHandler(w http.ResponseWriter, req *... method topicChannelAction (line 568) | func (s *httpServer) topicChannelAction(req *http.Request, topicName s... method counterHandler (line 653) | func (s *httpServer) counterHandler(w http.ResponseWriter, req *http.R... method graphiteHandler (line 700) | func (s *httpServer) graphiteHandler(w http.ResponseWriter, req *http.... method doConfig (line 749) | func (s *httpServer) doConfig(w http.ResponseWriter, req *http.Request... method isAuthorizedAdminRequest (line 810) | func (s *httpServer) isAuthorizedAdminRequest(req *http.Request) bool { function NewHTTPServer (line 60) | func NewHTTPServer(nsqadmin *NSQAdmin) *httpServer { type counterStats (line 646) | type counterStats struct function getOptByCfgName (line 825) | func getOptByCfgName(opts interface{}, name string) (interface{}, bool) { FILE: nsqadmin/http_test.go type TopicsDoc (line 22) | type TopicsDoc struct type TopicStatsDoc (line 26) | type TopicStatsDoc struct type NodesDoc (line 31) | type NodesDoc struct type NodeStatsDoc (line 36) | type NodeStatsDoc struct type ChannelStatsDoc (line 44) | type ChannelStatsDoc struct function mustStartNSQLookupd (line 49) | func mustStartNSQLookupd(opts *nsqlookupd.Options) (*net.TCPAddr, *net.T... function bootstrapNSQCluster (line 65) | func bootstrapNSQCluster(t *testing.T) (string, []*nsqd.NSQD, []*nsqlook... function bootstrapNSQClusterWithAuth (line 69) | func bootstrapNSQClusterWithAuth(t *testing.T, withAuth bool) (string, [... function TestPing (line 135) | func TestPing(t *testing.T) { function TestHTTPTopicsGET (line 154) | func TestHTTPTopicsGET(t *testing.T) { function TestHTTPTopicGET (line 182) | func TestHTTPTopicGET(t *testing.T) { function TestHTTPNodesGET (line 214) | func TestHTTPNodesGET(t *testing.T) { function TestHTTPChannelGET (line 248) | func TestHTTPChannelGET(t *testing.T) { function TestHTTPNodesSingleGET (line 287) | func TestHTTPNodesSingleGET(t *testing.T) { function TestHTTPCreateTopicPOST (line 324) | func TestHTTPCreateTopicPOST(t *testing.T) { function TestHTTPCreateTopicChannelPOST (line 347) | func TestHTTPCreateTopicChannelPOST(t *testing.T) { function TestHTTPTombstoneTopicNodePOST (line 371) | func TestHTTPTombstoneTopicNodePOST(t *testing.T) { function TestHTTPDeleteTopicPOST (line 394) | func TestHTTPDeleteTopicPOST(t *testing.T) { function TestHTTPDeleteChannelPOST (line 414) | func TestHTTPDeleteChannelPOST(t *testing.T) { function TestHTTPPauseTopicPOST (line 435) | func TestHTTPPauseTopicPOST(t *testing.T) { function TestHTTPPauseChannelPOST (line 469) | func TestHTTPPauseChannelPOST(t *testing.T) { function TestHTTPEmptyTopicPOST (line 504) | func TestHTTPEmptyTopicPOST(t *testing.T) { function TestHTTPEmptyChannelPOST (line 532) | func TestHTTPEmptyChannelPOST(t *testing.T) { function TestHTTPconfig (line 562) | func TestHTTPconfig(t *testing.T) { function TestHTTPconfigCIDR (line 620) | func TestHTTPconfigCIDR(t *testing.T) { FILE: nsqadmin/logger.go type Logger (line 7) | type Logger constant LOG_DEBUG (line 10) | LOG_DEBUG = lg.DEBUG constant LOG_INFO (line 11) | LOG_INFO = lg.INFO constant LOG_WARN (line 12) | LOG_WARN = lg.WARN constant LOG_ERROR (line 13) | LOG_ERROR = lg.ERROR constant LOG_FATAL (line 14) | LOG_FATAL = lg.FATAL method logf (line 17) | func (n *NSQAdmin) logf(level lg.LogLevel, f string, args ...interface{}) { FILE: nsqadmin/notify.go type AdminAction (line 12) | type AdminAction struct function basicAuthUser (line 25) | func basicAuthUser(req *http.Request) string { method notifyAdminAction (line 41) | func (s *httpServer) notifyAdminAction(action, topic, channel, node stri... FILE: nsqadmin/nsqadmin.go type NSQAdmin (line 24) | type NSQAdmin struct method getOpts (line 137) | func (n *NSQAdmin) getOpts() *Options { method swapOpts (line 141) | func (n *NSQAdmin) swapOpts(opts *Options) { method RealHTTPAddr (line 145) | func (n *NSQAdmin) RealHTTPAddr() *net.TCPAddr { method handleAdminActions (line 149) | func (n *NSQAdmin) handleAdminActions() { method Main (line 168) | func (n *NSQAdmin) Main() error { method Exit (line 190) | func (n *NSQAdmin) Exit() { function New (line 34) | func New(opts *Options) (*NSQAdmin, error) { function normalizeBasePath (line 126) | func normalizeBasePath(p string) string { FILE: nsqadmin/nsqadmin_test.go function TestNeitherNSQDAndNSQLookup (line 16) | func TestNeitherNSQDAndNSQLookup(t *testing.T) { function TestBothNSQDAndNSQLookup (line 25) | func TestBothNSQDAndNSQLookup(t *testing.T) { function TestTLSHTTPClient (line 36) | func TestTLSHTTPClient(t *testing.T) { function mustStartNSQD (line 80) | func mustStartNSQD(opts *nsqd.Options) (net.Addr, net.Addr, *nsqd.NSQD) { FILE: nsqadmin/options.go type Options (line 9) | type Options struct function NewOptions (line 47) | func NewOptions() *Options { FILE: nsqadmin/static.go function staticAsset (line 10) | func staticAsset(name string) ([]byte, error) { FILE: nsqadmin/static/build/main.js function i (line 1) | function i(e,n){if(!o[e]){if(!a[e]){var t="function"==typeof require&&re... function t (line 1) | function t(t){return this.each(function(){var n=r(this),e=n.data("bs.aff... function r (line 1) | function r(n){o(n).on("click",e,this.close)} function a (line 1) | function a(){l.detach().trigger("closed.bs.alert").remove()} function t (line 1) | function t(t){return this.each(function(){var n=o(this),e=n.data("bs.but... function u (line 1) | function u(n,e){this.$element=c(n),this.$indicators=this.$element.find("... function a (line 1) | function a(a){return this.each(function(){var n=c(this),e=n.data("bs.car... function e (line 1) | function e(n){var e=c(this),t=(t=e.attr("href"))&&t.replace(/.*(?=#[^\s]... function t (line 1) | function t(n){var e=n.attr("data-target")||(e=n.attr("href"))&&e.replace... function r (line 1) | function r(l){return this.each(function(){var n=a(this),e=n.data("bs.col... function l (line 1) | function l(n){a(n).on("click.bs.dropdown",this.toggle)} function r (line 1) | function r(n){var e=n.attr("data-target"),e="#"!==(e=e||(e=n.attr("href"... function i (line 1) | function i(l){l&&3===l.which||(a(".dropdown-backdrop").remove(),a(o).eac... function r (line 1) | function r(n,e){this.options=e,this.$body=o(document.body),this.$element... function i (line 1) | function i(l,a){return this.each(function(){var n=o(this),e=n.data("bs.m... function o (line 1) | function o(n,e){this.init("popover",n,e)} function l (line 1) | function l(n,e){this.$body=a(document.body),this.$scrollElement=a(n).is(... function e (line 1) | function e(t){return this.each(function(){var n=a(this),e=n.data("bs.scr... function i (line 1) | function i(n){this.element=r(n)} function e (line 1) | function e(t){return this.each(function(){var n=r(this),e=n.data("bs.tab... function o (line 1) | function o(){l.removeClass("active").find("> .dropdown-menu > .active").... function t (line 1) | function t(n){n.preventDefault(),e.call(r(this),"show")} function a (line 1) | function a(n,e,t){if(0===n.length)return n;if(t&&"function"==typeof t)re... function s (line 1) | function s(n,e){this.type=null,this.options=null,this.enabled=null,this.... function a (line 1) | function a(){"in"!=e.hoverState&&t.detach(),e.$element&&e.$element.remov... function l (line 1) | function l(n){return n&&n.__esModule?n:{default:n}} function a (line 1) | function a(n){if(n&&n.__esModule)return n;var e={};if(null!=n)for(var t ... function h (line 1) | function h(){var e=new o.HandlebarsEnvironment;return s.extend(e,o),e.Sa... function l (line 1) | function l(n){return n&&n.__esModule?n:{default:n}} function h (line 1) | function h(n,e,t){this.helpers=n||{},this.partials=e||{},this.decorators... function c (line 1) | function c(n,e){var t=e&&e.loc,l=void 0,a=void 0,o=void 0,e=void 0;t&&(l... function l (line 1) | function l(n){return n&&n.__esModule?n:{default:n}} function c (line 1) | function c(n,e,t){i&&(i.key=n,i.index=e,i.first=0===e,i.last=!!t,s&&(i.c... function r (line 1) | function r(n,e){return void 0!==n.whitelist[e]?!0===n.whitelist[e]:void ... function i (line 1) | function i(n){var e=arguments.length<=1||void 0===arguments[1]?{}:argume... function f (line 1) | function f(l,n,a,o,e,r,i){function t(n){var e=arguments.length<=1||void ... function r (line 1) | function r(){return""} function g (line 1) | function g(n,e,t,l,a,o){return n.decorator&&(e=n.decorator(e,n={},t,l&&l... function l (line 1) | function l(n){this.string=n} function r (line 1) | function r(n){return l[n]} function i (line 1) | function i(n){for(var e=1;ex.cacheLengt... function le (line 1) | function le(e){return e[k]=!0,e} function ce (line 1) | function ce(e){var t=E.createElement("fieldset");try{return!!e(t)}catch(... function fe (line 1) | function fe(e,t){for(var n=e.split("|"),r=n.length;r--;)x.attrHandle[n[r... function pe (line 1) | function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourc... function de (line 1) | function de(t){return function(e){return"form"in e?e.parentNode&&!1===e.... function he (line 1) | function he(a){return le(function(o){return o=+o,le(function(e,t){for(va... function ge (line 1) | function ge(e){return e&&void 0!==e.getElementsByTagName&&e} function ve (line 1) | function ve(){} function me (line 1) | function me(e){for(var t=0,n=e.length,r="";t