config.go 275 B

1234567891011121314
  1. package database
  2. import (
  3. "beejay.kim/craft/api/config"
  4. "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. }