Documentation
¶
Index ¶
- func DispatchStorage(storage StorageType, table StorageFuncTable)
- func DispatchTarget(target TargetType, table TargetFuncTable)
- type SettingType
- type StorageFuncTable
- type StorageGcsFunc
- type StorageGcsType
- type StorageType
- type TargetFuncTable
- type TargetMysqlFunc
- type TargetMysqlType
- type TargetType
- type VersionType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DispatchStorage ¶
func DispatchStorage(storage StorageType, table StorageFuncTable)
func DispatchTarget ¶
func DispatchTarget(target TargetType, table TargetFuncTable)
Types ¶
type SettingType ¶
type SettingType struct {
Target TargetType
Storage StorageType
}
type StorageFuncTable ¶
type StorageFuncTable struct {
Gcs StorageGcsFunc
}
type StorageGcsFunc ¶
type StorageGcsFunc func(config StorageGcsType)
--------------------- storage funcs
type StorageGcsType ¶
type StorageType ¶
type StorageType struct {
Kind string
Config interface{}
}
type TargetFuncTable ¶
type TargetFuncTable struct {
Mysql TargetMysqlFunc
}
type TargetMysqlFunc ¶
type TargetMysqlFunc func(config TargetMysqlType)
--------------------- target funcs
type TargetMysqlType ¶
type TargetType ¶
type TargetType struct {
Kind string
Config interface{}
}
type VersionType ¶
type VersionType struct {
Id string `json:"id"`
Time int64 `json:"time"`
Message string `json:"message"`
}
---------------------
Click to show internal directories.
Click to hide internal directories.