rest

package
v0.0.45 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package rest provides vald REST client functions

Package rest provides vald REST client functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	client.Client
	client.MetaObjectReader
	client.Upserter
}

Client represents gateway client interface.

func New

func New(opts ...Option) Client

New returns Client implementation.

type Option

type Option func(*gatewayClient)

Option is gatewayClient configure

func WithAddr

func WithAddr(addr string) Option

WithAddr returns Option that sets addr

Jump to

Keyboard shortcuts

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