Documentation ¶
Index ¶
- type NsqConn
- type NsqConnBuilder
- func (ncb *NsqConnBuilder) AddLookupdIps(ips ...string) *NsqConnBuilder
- func (ncb *NsqConnBuilder) AddNsqdIps(ips ...string) *NsqConnBuilder
- func (ncb *NsqConnBuilder) Build() (remote.PubSub, error)
- func (ncb *NsqConnBuilder) Channel(c string) *NsqConnBuilder
- func (ncb *NsqConnBuilder) Set(key string, val interface{}) *NsqConnBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NsqConnBuilder ¶
type NsqConnBuilder struct {
// contains filtered or unexported fields
}
func NewNsqBuilder ¶
func NewNsqBuilder() *NsqConnBuilder
func (*NsqConnBuilder) AddLookupdIps ¶
func (ncb *NsqConnBuilder) AddLookupdIps(ips ...string) *NsqConnBuilder
func (*NsqConnBuilder) AddNsqdIps ¶
func (ncb *NsqConnBuilder) AddNsqdIps(ips ...string) *NsqConnBuilder
func (*NsqConnBuilder) Channel ¶
func (ncb *NsqConnBuilder) Channel(c string) *NsqConnBuilder
func (*NsqConnBuilder) Set ¶
func (ncb *NsqConnBuilder) Set(key string, val interface{}) *NsqConnBuilder
Click to show internal directories.
Click to hide internal directories.