client

package
v0.0.0-...-d724b4b Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompanyClient

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

func NewCompanyClient

func NewCompanyClient(endpoint string) *CompanyClient

func (*CompanyClient) Get

func (cc *CompanyClient) Get(id int64) (company company.Company, err error)

func (*CompanyClient) GetMany

func (cc *CompanyClient) GetMany(ids []int64) (companies []company.Company, err error)

func (*CompanyClient) List

func (cc *CompanyClient) List() (companies []company.Company, err error)

func (*CompanyClient) Post

func (cc *CompanyClient) Post(c company.Company) (id company.ID, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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