carinfo

package
v0.0.0-...-bfeb8cb Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CarInfo

type CarInfo struct {
	RegNumber string `json:"regNum"`
	Mark      string `json:"mark"`
	Model     string `json:"model"`
	Year      int    `json:"year,omitempty"`
	Owner     Owner  `json:"owner"`
}

type Client

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

func NewClient

func NewClient(httpClient *client.HTTPClient) *Client

func (*Client) GetCarInfoByRegNumber

func (c *Client) GetCarInfoByRegNumber(ctx context.Context, regNumber string) ([]byte, error)

type Owner

type Owner struct {
	Name       string `json:"name"`
	Surname    string `json:"surname"`
	Patronymic string `json:"patronymic,omitempty"`
}

Jump to

Keyboard shortcuts

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