Documentation ¶
Index ¶
- type ClientFactory
- type Logger
- func (_m *Logger) Debug(args ...interface{})
- func (_m *Logger) Debugf(format string, args ...interface{})
- func (_m *Logger) Error(args ...interface{})
- func (_m *Logger) Errorf(format string, args ...interface{})
- func (_m *Logger) Fatal(args ...interface{})
- func (_m *Logger) Fatalf(format string, args ...interface{})
- func (_m *Logger) Fields() bark.Fields
- func (_m *Logger) Info(args ...interface{})
- func (_m *Logger) Infof(format string, args ...interface{})
- func (_m *Logger) Panic(args ...interface{})
- func (_m *Logger) Panicf(format string, args ...interface{})
- func (_m *Logger) Warn(args ...interface{})
- func (_m *Logger) Warnf(format string, args ...interface{})
- func (_m *Logger) WithField(key string, value interface{}) bark.Logger
- func (_m *Logger) WithFields(keyValues bark.LogFields) bark.Logger
- type Ringpop
- func (_m *Ringpop) App() string
- func (_m *Ringpop) Bootstrap(opts *swim.BootstrapOptions) ([]string, error)
- func (_m *Ringpop) Checksum() (uint32, error)
- func (_m *Ringpop) CountReachableMembers() (int, error)
- func (_m *Ringpop) Destroy()
- func (_m *Ringpop) Forward(dest string, keys []string, request []byte, service string, endpoint string, ...) ([]byte, error)
- func (_m *Ringpop) GetReachableMembers() ([]string, error)
- func (_m *Ringpop) HandleOrForward(key string, request []byte, response *[]byte, service string, endpoint string, ...) (bool, error)
- func (_m *Ringpop) Lookup(key string) (string, error)
- func (_m *Ringpop) LookupN(key string, n int) ([]string, error)
- func (_m *Ringpop) RegisterListener(l events.EventListener)
- func (_m *Ringpop) Uptime() (time.Duration, error)
- func (_m *Ringpop) WhoAmI() (string, error)
- type StatsReporter
- type SwimNode
- func (_m *SwimNode) Bootstrap(opts *swim.BootstrapOptions) ([]string, error)
- func (_m *SwimNode) CountReachableMembers() int
- func (_m *SwimNode) Destroy()
- func (_m *SwimNode) GetReachableMembers() []string
- func (_m *SwimNode) MemberStats() swim.MemberStats
- func (_m *SwimNode) ProtocolStats() swim.ProtocolStats
- func (_m *SwimNode) Ready() bool
- func (_m *SwimNode) RegisterListener(l swim.EventListener)
- type TChanClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientFactory ¶
func (*ClientFactory) GetLocalClient ¶
func (_m *ClientFactory) GetLocalClient() interface{}
func (*ClientFactory) MakeRemoteClient ¶
func (_m *ClientFactory) MakeRemoteClient(client thrift.TChanClient) interface{}
type Ringpop ¶
func (*Ringpop) Bootstrap ¶
func (_m *Ringpop) Bootstrap(opts *swim.BootstrapOptions) ([]string, error)
func (*Ringpop) CountReachableMembers ¶
func (*Ringpop) GetReachableMembers ¶
func (*Ringpop) HandleOrForward ¶
func (*Ringpop) RegisterListener ¶
func (_m *Ringpop) RegisterListener(l events.EventListener)
type StatsReporter ¶
func (*StatsReporter) IncCounter ¶
func (_m *StatsReporter) IncCounter(name string, tags bark.Tags, value int64)
func (*StatsReporter) RecordTimer ¶
func (*StatsReporter) UpdateGauge ¶
func (_m *StatsReporter) UpdateGauge(name string, tags bark.Tags, value int64)
type SwimNode ¶
func (*SwimNode) Bootstrap ¶
func (_m *SwimNode) Bootstrap(opts *swim.BootstrapOptions) ([]string, error)
func (*SwimNode) CountReachableMembers ¶
func (*SwimNode) GetReachableMembers ¶
func (*SwimNode) MemberStats ¶
func (_m *SwimNode) MemberStats() swim.MemberStats
func (*SwimNode) ProtocolStats ¶
func (_m *SwimNode) ProtocolStats() swim.ProtocolStats
func (*SwimNode) RegisterListener ¶
func (_m *SwimNode) RegisterListener(l swim.EventListener)
Click to show internal directories.
Click to hide internal directories.