Documentation ¶
Index ¶
- func GetSchema(ctx context.Context) (*proto.Schema, error)
- func GetTraceVerbosity(ctx context.Context) bool
- func WithSchema(ctx context.Context, schema *proto.Schema) context.Context
- func WithTraceVerbosity(ctx context.Context, verbose bool) context.Context
- type Server
- func (s *Server) GetActiveSchema(ctx context.Context, req *rpc.GetSchemaRequest) (*rpc.GetSchemaResponse, error)
- func (s *Server) GetTrace(ctx context.Context, input *rpc.GetTraceRequest) (*rpc.GetTraceResponse, error)
- func (s *Server) ListTraces(ctx context.Context, input *rpc.ListTracesRequest) (*rpc.ListTracesResponse, error)
- func (s *Server) RunSQLQuery(ctx context.Context, input *rpc.SQLQueryInput) (*rpc.SQLQueryResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTraceVerbosity ¶ added in v0.377.0
Types ¶
type Server ¶
type Server struct{}
func (*Server) GetActiveSchema ¶
func (s *Server) GetActiveSchema(ctx context.Context, req *rpc.GetSchemaRequest) (*rpc.GetSchemaResponse, error)
func (*Server) GetTrace ¶
func (s *Server) GetTrace(ctx context.Context, input *rpc.GetTraceRequest) (*rpc.GetTraceResponse, error)
func (*Server) ListTraces ¶
func (s *Server) ListTraces(ctx context.Context, input *rpc.ListTracesRequest) (*rpc.ListTracesResponse, error)
func (*Server) RunSQLQuery ¶
func (s *Server) RunSQLQuery(ctx context.Context, input *rpc.SQLQueryInput) (*rpc.SQLQueryResponse, error)
Click to show internal directories.
Click to hide internal directories.