models

package
v0.3.12 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2025 License: GPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hubsync

type Hubsync struct {
	Id           string   `json:"id" bson:"_id"`
	Settings     Settings `json:"settings" bson:"settings"`
	LastSynced   int64    `json:"last_synced" bson:"last_synced"`
	SyncProgress float64  `json:"sync_progress" bson:"sync_progress"`
}

type Settings added in v0.0.23

type Settings struct {
	Enabled       bool   `bson:"enabled" json:"enabled" mapstructure:"enabled"`
	ServerHost    string `bson:"server_host" json:"server_host" mapstructure:"server_host"`
	Token         string `bson:"token" json:"token" mapstructure:"token"`
	SyncInterval  int64  `json:"sync_interval" bson:"sync_interval"`
	BufferSize    int64  `json:"buffer_size" bson:"buffer_size"`
	SyncSales     bool   `json:"sync_sales" bson:"sync_sales"`
	SyncInventory bool   `json:"sync_inventory" bson:"sync_inventory"`
}

Jump to

Keyboard shortcuts

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