featurebase/server
Travis 5cb37834a0 Wrap return types: RowIdentifiers, Pair, and []Pair
This PR adds a field name (string) to the return types
which represent the values from a specific field. For example,
a TopN query on field `x` would be `TopN(x)` and have results
like:
```
[]Pair{
  {ID: 14, Count: 10},
  {ID: 3, Count: 8},
  {ID: 7, Count: 3},
}
```
In order to know what field this result type refers to, we wrap
`[]Pair` in a new struct called `PairsField` which contains an
addition `Field` string where `x` is stored.

This is useful for informing the gRPC server how to construct
more appropriate headers for the result stream (in this case,
the column headers can now be "x" and "count").

Similar logic was applied to `RowIdentifiers` and `Pair` as well.
2019-12-13 15:36:51 -06:00
..
testdata/certs regenerate certs with 100 year expiration, add README 2019-10-22 12:56:57 -05:00
cluster_test.go fix loop lint 2019-10-22 12:58:56 -05:00
config.go initial gRPC server implementation 2019-10-29 14:27:07 -05:00
config_internal_test.go send POSTed schema to all nodes in cluster 2019-04-29 19:31:23 -05:00
config_test.go v2.0.0 2019-10-08 14:56:17 -06:00
default.go Unexport server.DefaultDiagnosticsInterval 2018-07-05 23:11:56 -05:00
enterprise.go v2.0.0 2019-10-08 14:56:17 -06:00
grpc.go Wrap return types: RowIdentifiers, Pair, and []Pair 2019-12-13 15:36:51 -06:00
grpc_internal_test.go Wrap return types: RowIdentifiers, Pair, and []Pair 2019-12-13 15:36:51 -06:00
handler_test.go Wrap return types: RowIdentifiers, Pair, and []Pair 2019-12-13 15:36:51 -06:00
release.go Unexport server.DefaultDiagnosticsInterval (in release tag) 2018-07-05 23:11:57 -05:00
server.go pass logger through to the grpc server and handler 2019-11-12 11:08:25 -06:00
server_test.go v2.0.0 2019-10-08 14:56:17 -06:00
setup_logger.go v2.0.0 2019-10-08 14:56:17 -06:00
setup_logger_arm64.go v2.0.0 2019-10-08 14:56:17 -06:00
tlsconfig.go test and fix authentication of client certs btwn cluster nodes 2019-10-18 15:17:35 -05:00