package tsdb import ( "context" "sig-pub/pkg/types" ) type TSDB interface { Init(ctx context.Context) SaveKlines(kline []types.Kline) GetRangeKline() } func Register(name string, newer func() TSDB) { }