rpcApi

package
v0.395.0-next.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig added in v0.396.4

func GetConfig(ctx context.Context) (*config.ProjectConfig, error)

func GetSchema

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

func GetTraceVerbosity added in v0.377.0

func GetTraceVerbosity(ctx context.Context) bool

func WithConfig added in v0.396.4

func WithConfig(ctx context.Context, schema *config.ProjectConfig) context.Context

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) ListTools added in v0.394.2

func (s *Server) ListTools(ctx context.Context, input *rpc.ListToolsRequest) (*rpc.ListToolsResponse, 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