config.go 285 B

1234567891011121314
  1. package _interface
  2. import (
  3. "git.beejay.kim/Craft/Api/config"
  4. "git.beejay.kim/Craft/Api/database/clickhouse"
  5. )
  6. type Databases struct {
  7. Clickhouse *clickhouse.Config `json:"clickhouse" yaml:"clickhouse"`
  8. }
  9. func (db *Databases) Invalidate() error {
  10. return config.Invalidate(db)
  11. }