MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / NewCovenantSQLStorage

Function NewCovenantSQLStorage

sqlchain/adapter/storage/covenantsql.go:31–34  ·  view source on GitHub ↗

NewCovenantSQLStorage returns new covenantsql storage handler.

(mirrorServerAddr string)

Source from the content-addressed store, hash-verified

29
30// NewCovenantSQLStorage returns new covenantsql storage handler.
31func NewCovenantSQLStorage(mirrorServerAddr string) (s *CovenantSQLStorage) {
32 s = &CovenantSQLStorage{mirrorServerAddr: mirrorServerAddr}
33 return
34}
35
36// Create implements the Storage abstraction interface.
37func (s *CovenantSQLStorage) Create(nodeCnt int) (dbID string, err error) {

Callers 1

LoadConfigFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected