rest

package
v0.0.0-...-e4878fe Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 License: Apache-2.0 Imports: 5 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 interface {
	Create(ctx context.Context, name string, t model.CoffeeType, extraSugar bool) (*model.Coffee, error)
	GetByName(ctx context.Context, name string) (*model.Coffee, error)
}

func NewClient

func NewClient(baseURL string) Client

Jump to

Keyboard shortcuts

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