rest

package
v0.0.0-...-1014ae9 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(token string, co *ClientOptions, storageProvider persistence.Storage) (backends.Backend, error)

New creats an new instance of the rest client

Types

type ClientOptions

type ClientOptions struct {
	ResultsPerPage int
	Lang           string
	RefreshDB      bool
}

ClientOptions holds the options with which to create the REST client

Jump to

Keyboard shortcuts

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