http

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: BSD-3-Clause Imports: 13 Imported by: 0

README

go-artisanal-integers-http

No, really.

Documentation

Documentation is incomplete at this time.

See also

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTPClient

func NewHTTPClient(ctx context.Context, uri string) (client.Client, error)

func NewHTTPServer

func NewHTTPServer(ctx context.Context, uri string) (server.Server, error)

Types

type HTTPClient

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

func (*HTTPClient) NextInt

func (cl *HTTPClient) NextInt(ctx context.Context) (int64, error)

type HTTPServer

type HTTPServer struct {
	server.Server
	// contains filtered or unexported fields
}

func (*HTTPServer) Address

func (svr *HTTPServer) Address() string

func (*HTTPServer) ListenAndServe

func (svr *HTTPServer) ListenAndServe(ctx context.Context, args ...interface{}) error

Directories

Path Synopsis
cmd
client command
server command

Jump to

Keyboard shortcuts

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