Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EtcdModifyEventFunc ¶
EtcdModifyEventFunc defines etcd update event function handler.
type Factory ¶
type Factory interface { Nsqs() NsqStore GetKey(string) string Watch(context.Context, string, EtcdModifyEventFunc) error Close() error }
Factory defines the consumer storage interface.
type NsqStore ¶
type NsqStore interface { Get(ctx context.Context, key string) (*genericoptions.NsqOptions, error) GetKey(key string) string }
Click to show internal directories.
Click to hide internal directories.