types

package
v0.0.0-...-9e59f10 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chat

type Chat struct {
	ID           int64       `json:"id"`
	InitiatorID  int64       `json:"initiator_id"`
	SubscriberID int64       `json:"subscriber_id"`
	LastUpdated  *time.Time  `json:"last_updated"`
	TS           *time.Time  `json:"ts"`
	Display      interface{} `json:"display"`
}

Chat api type

type Product

type Product struct {
	ID            int64       `json:"id"`
	ProductName   string      `json:"product_name"`
	ProductImages interface{} `json:"product_images"`
	Desc          string      `json:"desc"`
	Condition     int32       `json:"condition" `
	ConditionAvg  float64     `json:"condition_avg"`
	StartPrice    float64     `json:"start_price"`
	BidMultpl     float64     `json:"bid_multpl"`
	ClosedAT      *time.Time  `json:"closed_at"`
	CreatedAT     *time.Time  `json:"created_at"`
	Labels        interface{} `json:"labels"`
	Sold          bool        `json:"sold"`
	Closed        bool        `json:"closed"`
	BidStatus     interface{} `json:"bid_status"`
}

Product definisi type untuk menampilkan product

type ProductDetail

type ProductDetail struct {
	ID            int64       `json:"id"`
	ProductName   string      `json:"product_name"`
	ProductImages interface{} `json:"product_images"`
	Desc          string      `json:"desc"`
	Condition     int32       `json:"condition" `
	ConditionAvg  float64     `json:"condition_avg"`
	StartPrice    float64     `json:"start_price"`
	BidMultpl     float64     `json:"bid_multpl"`
	ClosedAT      *time.Time  `json:"closed_at"`
	CreatedAT     *time.Time  `json:"created_at"`
	Labels        interface{} `json:"labels"`
	Sold          bool        `json:"sold"`
	Closed        bool        `json:"closed"`
	Store         interface{} `json:"store"`
	BidStatus     interface{} `json:"bid_status"`
}

ProductDetail json

type ValidatorType

type ValidatorType int

ValidatorType query

const (
	// ValidateJSON query type
	ValidateJSON ValidatorType = 1
	// ValidateQuery query type
	ValidateQuery ValidatorType = 2
	// ValidateURI query type
	ValidateURI ValidatorType = 3
)

Jump to

Keyboard shortcuts

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