MCPcopy Create free account
hub / github.com/Permify/permify / DataServer

Struct DataServer

internal/servers/data_server.go:22–36  ·  view source on GitHub ↗

DataServer - Structure for Data Server

Source from the content-addressed store, hash-verified

20
21// DataServer - Structure for Data Server
22type DataServer struct {
23 v1.UnimplementedDataServer
24
25 sr storage.SchemaReader
26 dr storage.DataReader
27 br storage.BundleReader
28 dw storage.DataWriter
29 writeDataHistogram api.Int64Histogram
30 deleteDataHistogram api.Int64Histogram
31 readAttributesHistogram api.Int64Histogram
32 readRelationshipsHistogram api.Int64Histogram
33 writeRelationshipsHistogram api.Int64Histogram
34 deleteRelationshipsHistogram api.Int64Histogram
35 runBundleHistogram api.Int64Histogram
36}
37
38// NewDataServer - Creates new Data Server
39func NewDataServer(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected