Documentation ¶
Overview ¶
Package api contains the over-the-wire gRPC server for PranaDB.
Index ¶
- type Server
- func (s *Server) ExecuteStatement(in *service.ExecuteStatementRequest, ...) error
- func (s *Server) GetListenAddress() string
- func (s *Server) RegisterProtobufs(ctx context.Context, request *service.RegisterProtobufsRequest) (*emptypb.Empty, error)
- func (s *Server) Start() error
- func (s *Server) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewAPIServer ¶
func NewAPIServer(metaController *meta.Controller, ce *command.Executor, protobufs *protolib.ProtoRegistry, cfg conf.Config) *Server
func (*Server) ExecuteStatement ¶ added in v0.1.1
func (s *Server) ExecuteStatement(in *service.ExecuteStatementRequest, stream service.PranaDBService_ExecuteStatementServer) error
func (*Server) GetListenAddress ¶
func (*Server) RegisterProtobufs ¶
Click to show internal directories.
Click to hide internal directories.