SchemaServer - Structure for Schema Server
| 22 | |
| 23 | // SchemaServer - Structure for Schema Server |
| 24 | type SchemaServer struct { |
| 25 | v1.UnimplementedSchemaServer |
| 26 | |
| 27 | sw storage.SchemaWriter |
| 28 | sr storage.SchemaReader |
| 29 | writeSchemaHistogram api.Int64Histogram |
| 30 | readSchemaHistogram api.Int64Histogram |
| 31 | listSchemaHistogram api.Int64Histogram |
| 32 | } |
| 33 | |
| 34 | // NewSchemaServer - Creates new Schema Server |
| 35 | func NewSchemaServer(sw storage.SchemaWriter, sr storage.SchemaReader) *SchemaServer { |
nothing calls this directly
no outgoing calls
no test coverage detected