Versions in this module Expand all Collapse all v0 v0.0.2 Oct 16, 2024 v0.0.1 Oct 13, 2024 Changes in this version + const DefaultScanNum + const DefaultTable + const DefaultTablePartitionNum + const PegasusNOENTRY + const PegasusNOTTL + const PegasusTagPattern + const PegasusType + type OptionsPegasus struct + MetaServers []string + TableName string + TablePartitionNum int + TableScanNum int + type PegasusStore struct + func NewPegasus(ctx context.Context, options *OptionsPegasus) (*PegasusStore, error) + func (p *PegasusStore) Clear(ctx context.Context) error + func (p *PegasusStore) Close() error + func (p *PegasusStore) Delete(ctx context.Context, key any) error + func (p *PegasusStore) Get(ctx context.Context, key any) (any, error) + func (p *PegasusStore) GetType() string + func (p *PegasusStore) GetWithTTL(ctx context.Context, key any) (any, time.Duration, error) + func (p *PegasusStore) Invalidate(ctx context.Context, options ...lib_store.InvalidateOption) error + func (p *PegasusStore) Set(ctx context.Context, key, value any, options ...lib_store.Option) error