request

package
v0.0.0-...-6bc0093 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FindLastResultRequest

type FindLastResultRequest struct {
	ProductId uint
}

type InsertProductRequest

type InsertProductRequest struct {
	Name          string
	Url           string
	Price         decimal.NullDecimal
	Height        decimal.NullDecimal
	Length        decimal.NullDecimal
	Weight        decimal.NullDecimal
	Width         decimal.NullDecimal
	Description   string
	ImageUrl      string
	ScrapProvider model.ScrapProvider
	VendorId      string
}

type InsertResultRequest

type InsertResultRequest struct {
	ProductId  uint
	StateId    model.ScrapResultState
	ApiResult  map[string]interface{}
	ApiResult2 map[string]interface{}
}

type UpdateProductRequest

type UpdateProductRequest struct {
	ProductId      uint
	Name           string
	Url            string
	Price          decimal.NullDecimal
	Height         decimal.NullDecimal
	Length         decimal.NullDecimal
	Weight         decimal.NullDecimal
	Width          decimal.NullDecimal
	Description    string
	ImageUrl       string
	LastScrappedAt time.Time
}

Jump to

Keyboard shortcuts

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