Help us shape the future of Go! Take the 2026 Go Developer Survey

util

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2026 License: Apache-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 Configuration

type Configuration struct {
	Mappings        []Map            `mapstructure:"mappings"`
	MagentoBaseUrls []MagentoBaseUrl `mapstructure:"magento_base_urls"`
	Login           Login            `mapstructure:"login"`
	Sync            Sync             `mapstructure:"sync"`
}

type Login

type Login struct {
	Username    string `mapstructure:"username"`
	Password    string `mapstructure:"password"`
	Scope       string `mapstructure:"scope"`
	AuthMethod  string `mapstructure:"auth_method"`
	InstanceUrl string `mapstructure:"instance_url"`
}

type MagentoBaseUrl

type MagentoBaseUrl struct {
	StoreCode string `mapstructure:"store_code"`
	RunType   string `mapstructure:"run_type"`
	Url       string
}

type Map

type Map struct {
	From string `mapstructure:"from"`
	To   string `mapstructure:"to"`
}

type Sync added in v1.0.16

type Sync struct {
	Files SyncFiles `mapstructure:"files"`
}

type SyncFileItem added in v1.0.16

type SyncFileItem struct {
	Source  string   `mapstructure:"source"`
	Target  string   `mapstructure:"target"`
	Exclude []string `mapstructure:"exclude"`
}

type SyncFiles added in v1.0.16

type SyncFiles struct {
	Items []SyncFileItem `mapstructure:"items"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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