client

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package client package sets up clients for calling the APIs in this app approach largely taken from Marcus Olsson

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserClient

type UserClient struct {
	BaseURL   *url.URL
	UserAgent string

	HTTPClient *http.Client
}

UserClient is a ...

func (*UserClient) Create

func (c *UserClient) Create(ctx context.Context, body appUser.User) (string, error)

Create method is used to generate the

Jump to

Keyboard shortcuts

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