pubsub

package
v0.0.0-...-077b43f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
}

func New

func New(options ...func(c *Client) error) (*Client, error)

type Config

type Config struct {
	Timeout    time.Duration
	MaxRetries int
}

func NewConfig

func NewConfig() *Config

func (*Config) Copy

func (c *Config) Copy(cfgs ...*Config) *Config

func (*Config) MergeIn

func (c *Config) MergeIn(cfgs ...*Config)

func (*Config) WithMaxRetries

func (c *Config) WithMaxRetries(max int) *Config

func (*Config) WithTimeout

func (c *Config) WithTimeout(timeout time.Duration) *Config

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL