client

package
v0.0.0-...-9fdd154 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	PublishWithin(peer dmesh.Peer, timeout time.Duration)
	PublishNow(peer dmesh.Peer) error
}

type SearchClient

type SearchClient interface {
	Client
	Peers() (out []*dmesh.SearchPeer)
	Start(ctx context.Context, watchServices []string) error
	Close() error
}

func New

func New(dsnString string) (SearchClient, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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