Documentation ¶
Index ¶
- func IsUnDirectoryError(err error) bool
- type CatalogManger
- func (m *CatalogManger) AddCataLog(name string, conf *config.CatalogConf) (ok bool)
- func (m *CatalogManger) AddCatalogs(catalogs map[string]*config.CatalogConf) (ok bool)
- func (m *CatalogManger) GetAllCatalogInfo() map[string]*config.CatalogConf
- func (m *CatalogManger) GetCatalogInfo(catalog string) (conf config.CatalogConf, ok bool)
- func (m *CatalogManger) Run()
- type UnDirectoryError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsUnDirectoryError ¶
Types ¶
type CatalogManger ¶
type CatalogManger struct {
// contains filtered or unexported fields
}
func NewCataLogManager ¶
func NewCataLogManager() (cm *CatalogManger, err error)
func (*CatalogManger) AddCataLog ¶
func (m *CatalogManger) AddCataLog(name string, conf *config.CatalogConf) (ok bool)
func (*CatalogManger) AddCatalogs ¶
func (m *CatalogManger) AddCatalogs(catalogs map[string]*config.CatalogConf) (ok bool)
func (*CatalogManger) GetAllCatalogInfo ¶
func (m *CatalogManger) GetAllCatalogInfo() map[string]*config.CatalogConf
func (*CatalogManger) GetCatalogInfo ¶
func (m *CatalogManger) GetCatalogInfo(catalog string) (conf config.CatalogConf, ok bool)
func (*CatalogManger) Run ¶
func (m *CatalogManger) Run()
type UnDirectoryError ¶
type UnDirectoryError struct {
Path string `json:"path"`
}
func (*UnDirectoryError) Error ¶
func (e *UnDirectoryError) Error() string
Click to show internal directories.
Click to hide internal directories.