client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRestyClient

func NewRestyClient(rest *resty.Client, opts ...Option) (sspvo.Client, error)

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(opts ...Option) (Client, error)

type Option

type Option func(*options)

func SetAPIBase

func SetAPIBase(apiBase string) Option

func SetKPP

func SetKPP(kpp string) Option

func SetOGRN

func SetOGRN(ogrn string) Option

type RestyClient

type RestyClient struct {
	Client
	// contains filtered or unexported fields
}

func (*RestyClient) Send

func (c *RestyClient) Send(ctx context.Context, msg sspvo.Message) (res sspvo.Response)

Jump to

Keyboard shortcuts

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