resource

package
v0.0.0-...-6882831 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 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 BaseConfig

type BaseConfig struct {
	DriverConfig DriverConfig `json:"driver" yaml:"driver" mapstructure:"driver"`
	FRLiteConfig FRLiteConfig `json:"fr_lite" yaml:"fr_lite" mapstructure:"fr_lite"`
}

type DriverConfig

type DriverConfig struct {
	MysqlConfig   MysqlConfig   `json:"mysql" yaml:"mysql" mapstructure:"mysql"`
	RedisConfig   RedisConfig   `json:"redis" yaml:"redis" mapstructure:"redis"`
	StorageConfig StorageConfig `json:"storage" yaml:"storage" mapstructure:"storage"`
}

type FRLiteConfig

type FRLiteConfig struct {
	InferConfig   InferConfig   `json:"infer" yaml:"infer" mapstructure:"infer"`
	PickupConfig  PickupConfig  `json:"pickup" yaml:"pickup" mapstructure:"pickup"`
	MonitorConfig MonitorConfig `json:"monitor" yaml:"monitor" mapstructure:"monitor"`
}

type FastDFSStorageConfig

type FastDFSStorageConfig struct {
	Trackers *string `json:"trackers" yaml:"trackers" mapstructure:"trackers"`
	MaxConn  *int    `json:"max_conn" yaml:"max_conn" mapstructure:"max_conn"`
}

type FileFormat

type FileFormat struct {
	Path string `json:"path" yaml:"path" mapstructure:"path"`
	Fmt  string `json:"fmt" yaml:"fmt" mapstructure:"fmt"`
}

type FileFormats

type FileFormats struct {
	Standard FileFormat `json:"standard" yaml:"standard" mapstructure:"standard"`
	Snapshot FileFormat `json:"snapshot" yaml:"snapshot" mapstructure:"snapshot"`
	Feature  FileFormat `json:"feature" yaml:"feature" mapstructure:"feature"`
}

type InferConfig

type InferConfig struct {
	Port        int         `json:"port" yaml:"port" mapstructure:"port"`
	FileFormats FileFormats `json:"file_formats" yaml:"file_formats" mapstructure:"file_formats"`
}

type LocalStorageConfig

type LocalStorageConfig struct {
	FilePrefix *string `json:"file_prefix" yaml:"file_prefix" mapstructure:"file_prefix"`
}

type MonitorConfig

type MonitorConfig struct {
	NameServerDomain string `json:"name_server_domain" yaml:"name_server_domain" mapstructure:"name_server_domain"`
	NameServers      string `json:"name_servers" yaml:"name_servers" mapstructure:"name_servers"`
	ConsumerGroup    string `json:"consumer_group" yaml:"consumer_group" mapstructure:"consumer_group"`
	MetricTopic      string `json:"metric_topic" yaml:"metric_topic" mapstructure:"metric_topic"`
	StopTopic        string `json:"stop_topic" yaml:"stop_topic" mapstructure:"stop_topic"`
}

type MysqlConfig

type MysqlConfig struct {
	Address  string `json:"address" yaml:"address" mapstructure:"address"`
	User     string `json:"user" yaml:"user" mapstructure:"user"`
	Password string `json:"password" yaml:"password" mapstructure:"password"`
	DB       string `json:"db" yaml:"db" mapstructure:"db"`
}

type PickupConfig

type PickupConfig struct {
	NameServerDomain string `json:"name_server_domain" yaml:"name_server_domain" mapstructure:"name_server_domain"`
	NameServers      string `json:"name_servers" yaml:"name_servers" mapstructure:"name_servers"`
	Retry            int    `json:"retry" yaml:"retry" mapstructure:"retry"`
	ProducerGroup    string `json:"producer_group" yaml:"producer_group" mapstructure:"producer_group"`
	PickupTopic      string `json:"pickup_topic" yaml:"pickup_topic" mapstructure:"pickup_topic"`
}

type RedisConfig

type RedisConfig struct {
	Network  string `json:"network" yaml:"network" mapstructure:"network"`
	Address  string `json:"address" yaml:"address" mapstructure:"address"`
	Password string `json:"password" yaml:"password" mapstructure:"password"`
	DB       int    `json:"driver" yaml:"driver" mapstructure:"driver"`
}

type StorageConfig

type StorageConfig struct {
	Use                  string               `json:"use" yaml:"use" mapstructure:"use"`
	FastDFSStorageConfig FastDFSStorageConfig `json:"fast_dfs_storage"  yaml:"fast_dfs_storage" mapstructure:"fast_dfs_storage"`
	LocalStorageConfig   LocalStorageConfig   `json:"local_storage" yaml:"local_storage" mapstructure:"local_storage"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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