Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultBootstrapServers ¶
func DefaultBootstrapServers() []string
func DefaultNumWorkers ¶
func DefaultNumWorkers() int
func DefaultTimeout ¶
func DefaultUpstreamServers ¶
func DefaultUpstreamServers() []string
Types ¶
type Option ¶
type Option func(r *Resolver)
func WithBootstrapServers ¶
func WithNumWorkers ¶
func WithTimeout ¶
func WithUpstreamServers ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func NewResolver ¶
func NewResolver() *Resolver
func (*Resolver) WithOptions ¶
Click to show internal directories.
Click to hide internal directories.