client

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2019 License: BSD-3-Clause Imports: 10 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewArtisanalClient

func NewArtisanalClient(proto string, u *url.URL) (artisanalinteger.Client, error)

Types

type HTTPClient

type HTTPClient struct {
	artisanalinteger.Client
	// contains filtered or unexported fields
}

func NewHTTPClient

func NewHTTPClient(u *url.URL) (*HTTPClient, error)

func (*HTTPClient) NextInt

func (cl *HTTPClient) NextInt() (int64, error)

type TCPClient

type TCPClient struct {
	artisanalinteger.Client
	// contains filtered or unexported fields
}

func NewTCPClient

func NewTCPClient(u *url.URL) (*TCPClient, error)

func (*TCPClient) NextInt

func (cl *TCPClient) NextInt() (int64, error)

Jump to

Keyboard shortcuts

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