Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DogsVsCatsProviderOpt ¶
type DogsVsCatsProviderOpt struct { }
type DogsVsCatsServiceOpt ¶
type DogsVsCatsServiceOpt struct { Endpoint string `mapstructure:"endpoint"` Bucket string `mapstructure:"bucket"` AccessKeyID string `mapstructure:"access_key_id"` AccessKeySecret string `mapstructure:"access_key_secret"` RegionID string `mapstructure:"region_id"` RoleArn string `mapstructure:"role_arn"` RoleSessionName string `mapstructure:"role_session_name"` UploadPathPrefix string `mapstructure:"upload_path_prefix"` ClassifyPathPrefix string `mapstructure:"classify_path_prefix"` ModelPath string `mapstructure:"model_path"` }
type LogOpt ¶
type LogOpt struct { Level string `mapstructure:"level"` Filename string `mapstructure:"filename"` Encoder string `mapstructure:"encoder"` }
LogOpt opt
type Option ¶
type Option struct { LogOpt LogOpt `mapstructure:"log_opt"` ServiceOpt ServiceOpt `mapstructure:"service_opt"` ProviderOpt ProviderOpt `mapstructure:"provider_opt"` // contains filtered or unexported fields }
Options program config
type ProviderOpt ¶
type ProviderOpt struct {
DogsVsCatsProviderOpt DogsVsCatsProviderOpt `mapstructure:"dogs_vs_cats_provider_opt"`
}
type ServiceOpt ¶
type ServiceOpt struct {
DogsVsCatsServiceOpt DogsVsCatsServiceOpt `mapstructure:"dogs_vs_cats_service_opt"`
}
Click to show internal directories.
Click to hide internal directories.