2023-09-01 21:51:30 +01:00
|
|
|
package web
|
|
|
|
|
|
|
|
type BarcodeRequest struct {
|
|
|
|
BarcodeType string `json:"barcode_type"`
|
|
|
|
Width int `json:"width"`
|
|
|
|
Height int `json:"height"`
|
|
|
|
ECCLevel int `json:"ecc_level"`
|
|
|
|
Content string `json:"content"`
|
|
|
|
}
|
2023-09-02 22:05:46 +01:00
|
|
|
|
|
|
|
type FormattedBarcodeRequest struct {
|
|
|
|
BarcodeType string `json:"barcode_type"`
|
|
|
|
Width int `json:"width"`
|
|
|
|
Height int `json:"height"`
|
|
|
|
ECCLevel int `json:"ecc_level"`
|
|
|
|
Format string `json:"format"`
|
|
|
|
Content interface{} `json:"content"`
|
|
|
|
}
|