MCPcopy Create free account
hub / github.com/chain/Core / Value

Method Value

protocol/bc/hash.go:87–89  ·  view source on GitHub ↗

Value satisfies the driver.Valuer interface

()

Source from the content-addressed store, hash-verified

85
86// Value satisfies the driver.Valuer interface
87func (h Hash) Value() (driver.Value, error) {
88 return h.Bytes(), nil
89}
90
91// Scan satisfies the driver.Scanner interface
92func (h *Hash) Scan(v interface{}) error {

Callers 11

prefixFunction · 0.45
TestHandlerFunction · 0.45
RequestFunction · 0.45
ResponseWriterFunction · 0.45
X509CertsFunction · 0.45
TokenFunction · 0.45
LocalhostFunction · 0.45
FromContextFunction · 0.45
CoreIDFromContextFunction · 0.45
PathFromContextFunction · 0.45
FromSubContextFunction · 0.45

Calls 1

BytesMethod · 0.95

Tested by 1

TestHandlerFunction · 0.36