rpcApi

package
v0.379.2-next.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSchema

func GetSchema(ctx context.Context) (*proto.Schema, error)

func GetTraceVerbosity added in v0.377.0

func GetTraceVerbosity(ctx context.Context) bool

func WithSchema

func WithSchema(ctx context.Context, schema *proto.Schema) context.Context

func WithTraceVerbosity added in v0.377.0

func WithTraceVerbosity(ctx context.Context, verbose bool) context.Context

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL