Documentation
¶
Overview ¶
Package digest provides api features.
Index ¶
- Variables
- func PrepareTimeStamps(bs *cdigest.BlockSession, st base.State) (string, []mongo.WriteModel, error)
- func ProcessDigester(ctx context.Context) (context.Context, error)
- func TimestampDesign(st *cdigest.Database, contract string) (types.Design, base.State, error)
- func TimestampItem(db *cdigest.Database, contract, project string, idx uint64) (types.Item, base.State, error)
- type DesignDoc
- type ItemDoc
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultColNameTimeStamp = "digest_ts"
)
View Source
var DefaultIndexes = cdigest.DefaultIndexes
Functions ¶
func PrepareTimeStamps ¶
func PrepareTimeStamps(bs *cdigest.BlockSession, st base.State) (string, []mongo.WriteModel, error)
func TimestampDesign ¶
Types ¶
type DesignDoc ¶
func NewDesignDoc ¶
NewDesignDoc get the State of TimeStamp Design
func (DesignDoc) MarshalBSON ¶
Click to show internal directories.
Click to hide internal directories.