Implement web-server

This commit is contained in:
Fred Boniface
2023-09-01 21:51:30 +01:00
parent 0e1425c1b9
commit f1c8eb82b8
6 changed files with 118 additions and 0 deletions

9
web/types.go Normal file
View File

@@ -0,0 +1,9 @@
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"`
}