Documentation ¶
Index ¶
- Variables
- type AuthHandler
- func (*AuthHandler) Descriptor() ([]byte, []int)deprecated
- func (x *AuthHandler) GetAuthData() *v1.Decl
- func (x *AuthHandler) GetDoc() string
- func (x *AuthHandler) GetLoc() *v1.Loc
- func (x *AuthHandler) GetName() string
- func (x *AuthHandler) GetPkgName() string
- func (x *AuthHandler) GetPkgPath() string
- func (*AuthHandler) ProtoMessage()
- func (x *AuthHandler) ProtoReflect() protoreflect.Message
- func (x *AuthHandler) Reset()
- func (x *AuthHandler) String() string
- type AuthHandlerDefNode
- func (*AuthHandlerDefNode) Descriptor() ([]byte, []int)deprecated
- func (x *AuthHandlerDefNode) GetContext() string
- func (x *AuthHandlerDefNode) GetName() string
- func (x *AuthHandlerDefNode) GetServiceName() string
- func (*AuthHandlerDefNode) ProtoMessage()
- func (x *AuthHandlerDefNode) ProtoReflect() protoreflect.Message
- func (x *AuthHandlerDefNode) Reset()
- func (x *AuthHandlerDefNode) String() string
- type DBMigration
- func (*DBMigration) Descriptor() ([]byte, []int)deprecated
- func (x *DBMigration) GetDescription() string
- func (x *DBMigration) GetFilename() string
- func (x *DBMigration) GetNumber() int32
- func (*DBMigration) ProtoMessage()
- func (x *DBMigration) ProtoReflect() protoreflect.Message
- func (x *DBMigration) Reset()
- func (x *DBMigration) String() string
- type Data
- func (*Data) Descriptor() ([]byte, []int)deprecated
- func (x *Data) GetAppVersion() string
- func (x *Data) GetAuthHandler() *AuthHandler
- func (x *Data) GetDecls() []*v1.Decl
- func (x *Data) GetModulePath() string
- func (x *Data) GetPkgs() []*Package
- func (x *Data) GetSvcs() []*Service
- func (*Data) ProtoMessage()
- func (x *Data) ProtoReflect() protoreflect.Message
- func (x *Data) Reset()
- func (x *Data) String() string
- type Package
- func (*Package) Descriptor() ([]byte, []int)deprecated
- func (x *Package) GetDoc() string
- func (x *Package) GetName() string
- func (x *Package) GetRelPath() string
- func (x *Package) GetRpcCalls() []*QualifiedName
- func (x *Package) GetSecrets() []string
- func (x *Package) GetServiceName() string
- func (x *Package) GetTraceNodes() []*TraceNode
- func (*Package) ProtoMessage()
- func (x *Package) ProtoReflect() protoreflect.Message
- func (x *Package) Reset()
- func (x *Package) String() string
- type QualifiedName
- func (*QualifiedName) Descriptor() ([]byte, []int)deprecated
- func (x *QualifiedName) GetName() string
- func (x *QualifiedName) GetPkg() string
- func (*QualifiedName) ProtoMessage()
- func (x *QualifiedName) ProtoReflect() protoreflect.Message
- func (x *QualifiedName) Reset()
- func (x *QualifiedName) String() string
- type RPC
- func (*RPC) Descriptor() ([]byte, []int)deprecated
- func (x *RPC) GetAccessType() RPC_AccessType
- func (x *RPC) GetDoc() string
- func (x *RPC) GetLoc() *v1.Loc
- func (x *RPC) GetName() string
- func (x *RPC) GetProto() RPC_Protocol
- func (x *RPC) GetRequestSchema() *v1.Decl
- func (x *RPC) GetResponseSchema() *v1.Decl
- func (x *RPC) GetServiceName() string
- func (*RPC) ProtoMessage()
- func (x *RPC) ProtoReflect() protoreflect.Message
- func (x *RPC) Reset()
- func (x *RPC) String() string
- type RPCCallNode
- func (*RPCCallNode) Descriptor() ([]byte, []int)deprecated
- func (x *RPCCallNode) GetContext() string
- func (x *RPCCallNode) GetRpcName() string
- func (x *RPCCallNode) GetServiceName() string
- func (*RPCCallNode) ProtoMessage()
- func (x *RPCCallNode) ProtoReflect() protoreflect.Message
- func (x *RPCCallNode) Reset()
- func (x *RPCCallNode) String() string
- type RPCDefNode
- func (*RPCDefNode) Descriptor() ([]byte, []int)deprecated
- func (x *RPCDefNode) GetContext() string
- func (x *RPCDefNode) GetRpcName() string
- func (x *RPCDefNode) GetServiceName() string
- func (*RPCDefNode) ProtoMessage()
- func (x *RPCDefNode) ProtoReflect() protoreflect.Message
- func (x *RPCDefNode) Reset()
- func (x *RPCDefNode) String() string
- type RPC_AccessType
- func (RPC_AccessType) Descriptor() protoreflect.EnumDescriptor
- func (x RPC_AccessType) Enum() *RPC_AccessType
- func (RPC_AccessType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RPC_AccessType) Number() protoreflect.EnumNumber
- func (x RPC_AccessType) String() string
- func (RPC_AccessType) Type() protoreflect.EnumType
- type RPC_Protocol
- func (RPC_Protocol) Descriptor() protoreflect.EnumDescriptor
- func (x RPC_Protocol) Enum() *RPC_Protocol
- func (RPC_Protocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x RPC_Protocol) Number() protoreflect.EnumNumber
- func (x RPC_Protocol) String() string
- func (RPC_Protocol) Type() protoreflect.EnumType
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetMigrations() []*DBMigration
- func (x *Service) GetName() string
- func (x *Service) GetRelPath() string
- func (x *Service) GetRpcs() []*RPC
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- type StaticCallNode
- func (*StaticCallNode) Descriptor() ([]byte, []int)deprecated
- func (x *StaticCallNode) GetContext() string
- func (x *StaticCallNode) GetFunc() string
- func (x *StaticCallNode) GetPackage() StaticCallNode_Package
- func (*StaticCallNode) ProtoMessage()
- func (x *StaticCallNode) ProtoReflect() protoreflect.Message
- func (x *StaticCallNode) Reset()
- func (x *StaticCallNode) String() string
- type StaticCallNode_Package
- func (StaticCallNode_Package) Descriptor() protoreflect.EnumDescriptor
- func (x StaticCallNode_Package) Enum() *StaticCallNode_Package
- func (StaticCallNode_Package) EnumDescriptor() ([]byte, []int)deprecated
- func (x StaticCallNode_Package) Number() protoreflect.EnumNumber
- func (x StaticCallNode_Package) String() string
- func (StaticCallNode_Package) Type() protoreflect.EnumType
- type TraceNode
- func (*TraceNode) Descriptor() ([]byte, []int)deprecated
- func (x *TraceNode) GetAuthHandlerDef() *AuthHandlerDefNode
- func (m *TraceNode) GetContext() isTraceNode_Context
- func (x *TraceNode) GetEndPos() int32
- func (x *TraceNode) GetFilepath() string
- func (x *TraceNode) GetId() int32
- func (x *TraceNode) GetRpcCall() *RPCCallNode
- func (x *TraceNode) GetRpcDef() *RPCDefNode
- func (x *TraceNode) GetSrcColEnd() int32
- func (x *TraceNode) GetSrcColStart() int32
- func (x *TraceNode) GetSrcLineEnd() int32
- func (x *TraceNode) GetSrcLineStart() int32
- func (x *TraceNode) GetStartPos() int32
- func (x *TraceNode) GetStaticCall() *StaticCallNode
- func (*TraceNode) ProtoMessage()
- func (x *TraceNode) ProtoReflect() protoreflect.Message
- func (x *TraceNode) Reset()
- func (x *TraceNode) String() string
- type TraceNode_AuthHandlerDef
- type TraceNode_RpcCall
- type TraceNode_RpcDef
- type TraceNode_StaticCall
Constants ¶
This section is empty.
Variables ¶
var ( RPC_AccessType_name = map[int32]string{ 0: "PRIVATE", 1: "PUBLIC", 2: "AUTH", } RPC_AccessType_value = map[string]int32{ "PRIVATE": 0, "PUBLIC": 1, "AUTH": 2, } )
Enum value maps for RPC_AccessType.
var ( RPC_Protocol_name = map[int32]string{ 0: "REGULAR", 1: "RAW", } RPC_Protocol_value = map[string]int32{ "REGULAR": 0, "RAW": 1, } )
Enum value maps for RPC_Protocol.
var ( StaticCallNode_Package_name = map[int32]string{ 0: "UNKNOWN", 1: "SQLDB", 2: "RLOG", } StaticCallNode_Package_value = map[string]int32{ "UNKNOWN": 0, "SQLDB": 1, "RLOG": 2, } )
Enum value maps for StaticCallNode_Package.
var File_encore_parser_meta_v1_meta_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AuthHandler ¶
type AuthHandler struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Doc string `protobuf:"bytes,2,opt,name=doc,proto3" json:"doc,omitempty"` PkgPath string `protobuf:"bytes,3,opt,name=pkg_path,json=pkgPath,proto3" json:"pkg_path,omitempty"` // package (service) import path PkgName string `protobuf:"bytes,4,opt,name=pkg_name,json=pkgName,proto3" json:"pkg_name,omitempty"` // package (service) name Loc *v1.Loc `protobuf:"bytes,5,opt,name=loc,proto3" json:"loc,omitempty"` AuthData *v1.Decl `protobuf:"bytes,6,opt,name=auth_data,json=authData,proto3" json:"auth_data,omitempty"` // custom auth data, or nil // contains filtered or unexported fields }
func (*AuthHandler) Descriptor
deprecated
func (*AuthHandler) Descriptor() ([]byte, []int)
Deprecated: Use AuthHandler.ProtoReflect.Descriptor instead.
func (*AuthHandler) GetAuthData ¶
func (x *AuthHandler) GetAuthData() *v1.Decl
func (*AuthHandler) GetDoc ¶
func (x *AuthHandler) GetDoc() string
func (*AuthHandler) GetLoc ¶
func (x *AuthHandler) GetLoc() *v1.Loc
func (*AuthHandler) GetName ¶
func (x *AuthHandler) GetName() string
func (*AuthHandler) GetPkgName ¶
func (x *AuthHandler) GetPkgName() string
func (*AuthHandler) GetPkgPath ¶
func (x *AuthHandler) GetPkgPath() string
func (*AuthHandler) ProtoMessage ¶
func (*AuthHandler) ProtoMessage()
func (*AuthHandler) ProtoReflect ¶
func (x *AuthHandler) ProtoReflect() protoreflect.Message
func (*AuthHandler) Reset ¶
func (x *AuthHandler) Reset()
func (*AuthHandler) String ¶
func (x *AuthHandler) String() string
type AuthHandlerDefNode ¶
type AuthHandlerDefNode struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Context string `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
func (*AuthHandlerDefNode) Descriptor
deprecated
func (*AuthHandlerDefNode) Descriptor() ([]byte, []int)
Deprecated: Use AuthHandlerDefNode.ProtoReflect.Descriptor instead.
func (*AuthHandlerDefNode) GetContext ¶
func (x *AuthHandlerDefNode) GetContext() string
func (*AuthHandlerDefNode) GetName ¶
func (x *AuthHandlerDefNode) GetName() string
func (*AuthHandlerDefNode) GetServiceName ¶
func (x *AuthHandlerDefNode) GetServiceName() string
func (*AuthHandlerDefNode) ProtoMessage ¶
func (*AuthHandlerDefNode) ProtoMessage()
func (*AuthHandlerDefNode) ProtoReflect ¶
func (x *AuthHandlerDefNode) ProtoReflect() protoreflect.Message
func (*AuthHandlerDefNode) Reset ¶
func (x *AuthHandlerDefNode) Reset()
func (*AuthHandlerDefNode) String ¶
func (x *AuthHandlerDefNode) String() string
type DBMigration ¶
type DBMigration struct { Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` // filename Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` // migration number Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // descriptive name // contains filtered or unexported fields }
func (*DBMigration) Descriptor
deprecated
func (*DBMigration) Descriptor() ([]byte, []int)
Deprecated: Use DBMigration.ProtoReflect.Descriptor instead.
func (*DBMigration) GetDescription ¶
func (x *DBMigration) GetDescription() string
func (*DBMigration) GetFilename ¶
func (x *DBMigration) GetFilename() string
func (*DBMigration) GetNumber ¶
func (x *DBMigration) GetNumber() int32
func (*DBMigration) ProtoMessage ¶
func (*DBMigration) ProtoMessage()
func (*DBMigration) ProtoReflect ¶
func (x *DBMigration) ProtoReflect() protoreflect.Message
func (*DBMigration) Reset ¶
func (x *DBMigration) Reset()
func (*DBMigration) String ¶
func (x *DBMigration) String() string
type Data ¶
type Data struct { ModulePath string `protobuf:"bytes,1,opt,name=module_path,json=modulePath,proto3" json:"module_path,omitempty"` // app module path AppVersion string `protobuf:"bytes,2,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"` Decls []*v1.Decl `protobuf:"bytes,3,rep,name=decls,proto3" json:"decls,omitempty"` Pkgs []*Package `protobuf:"bytes,4,rep,name=pkgs,proto3" json:"pkgs,omitempty"` Svcs []*Service `protobuf:"bytes,5,rep,name=svcs,proto3" json:"svcs,omitempty"` AuthHandler *AuthHandler `protobuf:"bytes,6,opt,name=auth_handler,json=authHandler,proto3" json:"auth_handler,omitempty"` // contains filtered or unexported fields }
Data is the metadata associated with an app version.
func (*Data) Descriptor
deprecated
func (*Data) GetAppVersion ¶
func (*Data) GetAuthHandler ¶
func (x *Data) GetAuthHandler() *AuthHandler
func (*Data) GetModulePath ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type Package ¶
type Package struct { RelPath string `protobuf:"bytes,1,opt,name=rel_path,json=relPath,proto3" json:"rel_path,omitempty"` // import path relative to app root ("." for the app root itself) Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // package name as declared in Go files Doc string `protobuf:"bytes,3,opt,name=doc,proto3" json:"doc,omitempty"` // associated documentation ServiceName string `protobuf:"bytes,4,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // service name this package is a part of, if any Secrets []string `protobuf:"bytes,5,rep,name=secrets,proto3" json:"secrets,omitempty"` // secrets required by this package RpcCalls []*QualifiedName `protobuf:"bytes,6,rep,name=rpc_calls,json=rpcCalls,proto3" json:"rpc_calls,omitempty"` // RPCs called by the package TraceNodes []*TraceNode `protobuf:"bytes,7,rep,name=trace_nodes,json=traceNodes,proto3" json:"trace_nodes,omitempty"` // contains filtered or unexported fields }
func (*Package) Descriptor
deprecated
func (*Package) GetRelPath ¶
func (*Package) GetRpcCalls ¶
func (x *Package) GetRpcCalls() []*QualifiedName
func (*Package) GetSecrets ¶
func (*Package) GetServiceName ¶
func (*Package) GetTraceNodes ¶
func (*Package) ProtoMessage ¶
func (*Package) ProtoMessage()
func (*Package) ProtoReflect ¶
func (x *Package) ProtoReflect() protoreflect.Message
type QualifiedName ¶
type QualifiedName struct { Pkg string `protobuf:"bytes,1,opt,name=pkg,proto3" json:"pkg,omitempty"` // "rel/path/to/pkg" Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // ObjectName // contains filtered or unexported fields }
QualifiedName is a name of an object in a specific package. It is never an unqualified name, even in circumstances where a package may refer to its own objects.
func (*QualifiedName) Descriptor
deprecated
func (*QualifiedName) Descriptor() ([]byte, []int)
Deprecated: Use QualifiedName.ProtoReflect.Descriptor instead.
func (*QualifiedName) GetName ¶
func (x *QualifiedName) GetName() string
func (*QualifiedName) GetPkg ¶
func (x *QualifiedName) GetPkg() string
func (*QualifiedName) ProtoMessage ¶
func (*QualifiedName) ProtoMessage()
func (*QualifiedName) ProtoReflect ¶
func (x *QualifiedName) ProtoReflect() protoreflect.Message
func (*QualifiedName) Reset ¶
func (x *QualifiedName) Reset()
func (*QualifiedName) String ¶
func (x *QualifiedName) String() string
type RPC ¶
type RPC struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // name of the RPC endpoint Doc string `protobuf:"bytes,2,opt,name=doc,proto3" json:"doc,omitempty"` // associated documentation ServiceName string `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // the service the RPC belongs to. AccessType RPC_AccessType `` // how can the RPC be accessed? /* 134-byte string literal not displayed */ RequestSchema *v1.Decl `protobuf:"bytes,5,opt,name=request_schema,json=requestSchema,proto3" json:"request_schema,omitempty"` // request schema, or nil ResponseSchema *v1.Decl `protobuf:"bytes,6,opt,name=response_schema,json=responseSchema,proto3" json:"response_schema,omitempty"` // request schema, or nil Proto RPC_Protocol `protobuf:"varint,7,opt,name=proto,proto3,enum=encore.parser.meta.v1.RPC_Protocol" json:"proto,omitempty"` Loc *v1.Loc `protobuf:"bytes,8,opt,name=loc,proto3" json:"loc,omitempty"` // contains filtered or unexported fields }
func (*RPC) Descriptor
deprecated
func (*RPC) GetAccessType ¶
func (x *RPC) GetAccessType() RPC_AccessType
func (*RPC) GetProto ¶
func (x *RPC) GetProto() RPC_Protocol
func (*RPC) GetRequestSchema ¶
func (*RPC) GetResponseSchema ¶
func (*RPC) GetServiceName ¶
func (*RPC) ProtoMessage ¶
func (*RPC) ProtoMessage()
func (*RPC) ProtoReflect ¶
func (x *RPC) ProtoReflect() protoreflect.Message
type RPCCallNode ¶
type RPCCallNode struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` RpcName string `protobuf:"bytes,2,opt,name=rpc_name,json=rpcName,proto3" json:"rpc_name,omitempty"` Context string `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
func (*RPCCallNode) Descriptor
deprecated
func (*RPCCallNode) Descriptor() ([]byte, []int)
Deprecated: Use RPCCallNode.ProtoReflect.Descriptor instead.
func (*RPCCallNode) GetContext ¶
func (x *RPCCallNode) GetContext() string
func (*RPCCallNode) GetRpcName ¶
func (x *RPCCallNode) GetRpcName() string
func (*RPCCallNode) GetServiceName ¶
func (x *RPCCallNode) GetServiceName() string
func (*RPCCallNode) ProtoMessage ¶
func (*RPCCallNode) ProtoMessage()
func (*RPCCallNode) ProtoReflect ¶
func (x *RPCCallNode) ProtoReflect() protoreflect.Message
func (*RPCCallNode) Reset ¶
func (x *RPCCallNode) Reset()
func (*RPCCallNode) String ¶
func (x *RPCCallNode) String() string
type RPCDefNode ¶
type RPCDefNode struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` RpcName string `protobuf:"bytes,2,opt,name=rpc_name,json=rpcName,proto3" json:"rpc_name,omitempty"` Context string `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
func (*RPCDefNode) Descriptor
deprecated
func (*RPCDefNode) Descriptor() ([]byte, []int)
Deprecated: Use RPCDefNode.ProtoReflect.Descriptor instead.
func (*RPCDefNode) GetContext ¶
func (x *RPCDefNode) GetContext() string
func (*RPCDefNode) GetRpcName ¶
func (x *RPCDefNode) GetRpcName() string
func (*RPCDefNode) GetServiceName ¶
func (x *RPCDefNode) GetServiceName() string
func (*RPCDefNode) ProtoMessage ¶
func (*RPCDefNode) ProtoMessage()
func (*RPCDefNode) ProtoReflect ¶
func (x *RPCDefNode) ProtoReflect() protoreflect.Message
func (*RPCDefNode) Reset ¶
func (x *RPCDefNode) Reset()
func (*RPCDefNode) String ¶
func (x *RPCDefNode) String() string
type RPC_AccessType ¶
type RPC_AccessType int32
const ( RPC_PRIVATE RPC_AccessType = 0 RPC_PUBLIC RPC_AccessType = 1 RPC_AUTH RPC_AccessType = 2 )
func (RPC_AccessType) Descriptor ¶
func (RPC_AccessType) Descriptor() protoreflect.EnumDescriptor
func (RPC_AccessType) Enum ¶
func (x RPC_AccessType) Enum() *RPC_AccessType
func (RPC_AccessType) EnumDescriptor
deprecated
func (RPC_AccessType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RPC_AccessType.Descriptor instead.
func (RPC_AccessType) Number ¶
func (x RPC_AccessType) Number() protoreflect.EnumNumber
func (RPC_AccessType) String ¶
func (x RPC_AccessType) String() string
func (RPC_AccessType) Type ¶
func (RPC_AccessType) Type() protoreflect.EnumType
type RPC_Protocol ¶
type RPC_Protocol int32
const ( RPC_REGULAR RPC_Protocol = 0 RPC_RAW RPC_Protocol = 1 )
func (RPC_Protocol) Descriptor ¶
func (RPC_Protocol) Descriptor() protoreflect.EnumDescriptor
func (RPC_Protocol) Enum ¶
func (x RPC_Protocol) Enum() *RPC_Protocol
func (RPC_Protocol) EnumDescriptor
deprecated
func (RPC_Protocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use RPC_Protocol.Descriptor instead.
func (RPC_Protocol) Number ¶
func (x RPC_Protocol) Number() protoreflect.EnumNumber
func (RPC_Protocol) String ¶
func (x RPC_Protocol) String() string
func (RPC_Protocol) Type ¶
func (RPC_Protocol) Type() protoreflect.EnumType
type Service ¶
type Service struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` RelPath string `protobuf:"bytes,2,opt,name=rel_path,json=relPath,proto3" json:"rel_path,omitempty"` // import path relative to app root for the root package in the service Rpcs []*RPC `protobuf:"bytes,3,rep,name=rpcs,proto3" json:"rpcs,omitempty"` Migrations []*DBMigration `protobuf:"bytes,4,rep,name=migrations,proto3" json:"migrations,omitempty"` // contains filtered or unexported fields }
func (*Service) Descriptor
deprecated
func (*Service) GetMigrations ¶
func (x *Service) GetMigrations() []*DBMigration
func (*Service) GetRelPath ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
type StaticCallNode ¶
type StaticCallNode struct { Package StaticCallNode_Package `protobuf:"varint,1,opt,name=package,proto3,enum=encore.parser.meta.v1.StaticCallNode_Package" json:"package,omitempty"` Func string `protobuf:"bytes,2,opt,name=func,proto3" json:"func,omitempty"` Context string `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
func (*StaticCallNode) Descriptor
deprecated
func (*StaticCallNode) Descriptor() ([]byte, []int)
Deprecated: Use StaticCallNode.ProtoReflect.Descriptor instead.
func (*StaticCallNode) GetContext ¶
func (x *StaticCallNode) GetContext() string
func (*StaticCallNode) GetFunc ¶
func (x *StaticCallNode) GetFunc() string
func (*StaticCallNode) GetPackage ¶
func (x *StaticCallNode) GetPackage() StaticCallNode_Package
func (*StaticCallNode) ProtoMessage ¶
func (*StaticCallNode) ProtoMessage()
func (*StaticCallNode) ProtoReflect ¶
func (x *StaticCallNode) ProtoReflect() protoreflect.Message
func (*StaticCallNode) Reset ¶
func (x *StaticCallNode) Reset()
func (*StaticCallNode) String ¶
func (x *StaticCallNode) String() string
type StaticCallNode_Package ¶
type StaticCallNode_Package int32
const ( StaticCallNode_UNKNOWN StaticCallNode_Package = 0 StaticCallNode_SQLDB StaticCallNode_Package = 1 StaticCallNode_RLOG StaticCallNode_Package = 2 )
func (StaticCallNode_Package) Descriptor ¶
func (StaticCallNode_Package) Descriptor() protoreflect.EnumDescriptor
func (StaticCallNode_Package) Enum ¶
func (x StaticCallNode_Package) Enum() *StaticCallNode_Package
func (StaticCallNode_Package) EnumDescriptor
deprecated
func (StaticCallNode_Package) EnumDescriptor() ([]byte, []int)
Deprecated: Use StaticCallNode_Package.Descriptor instead.
func (StaticCallNode_Package) Number ¶
func (x StaticCallNode_Package) Number() protoreflect.EnumNumber
func (StaticCallNode_Package) String ¶
func (x StaticCallNode_Package) String() string
func (StaticCallNode_Package) Type ¶
func (StaticCallNode_Package) Type() protoreflect.EnumType
type TraceNode ¶
type TraceNode struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Filepath string `protobuf:"bytes,2,opt,name=filepath,proto3" json:"filepath,omitempty"` // slash-separated, relative to app root StartPos int32 `protobuf:"varint,4,opt,name=start_pos,json=startPos,proto3" json:"start_pos,omitempty"` EndPos int32 `protobuf:"varint,5,opt,name=end_pos,json=endPos,proto3" json:"end_pos,omitempty"` SrcLineStart int32 `protobuf:"varint,6,opt,name=src_line_start,json=srcLineStart,proto3" json:"src_line_start,omitempty"` SrcLineEnd int32 `protobuf:"varint,7,opt,name=src_line_end,json=srcLineEnd,proto3" json:"src_line_end,omitempty"` SrcColStart int32 `protobuf:"varint,8,opt,name=src_col_start,json=srcColStart,proto3" json:"src_col_start,omitempty"` SrcColEnd int32 `protobuf:"varint,9,opt,name=src_col_end,json=srcColEnd,proto3" json:"src_col_end,omitempty"` // Types that are assignable to Context: // *TraceNode_RpcDef // *TraceNode_RpcCall // *TraceNode_StaticCall // *TraceNode_AuthHandlerDef Context isTraceNode_Context `protobuf_oneof:"context"` // contains filtered or unexported fields }
func (*TraceNode) Descriptor
deprecated
func (*TraceNode) GetAuthHandlerDef ¶
func (x *TraceNode) GetAuthHandlerDef() *AuthHandlerDefNode
func (*TraceNode) GetContext ¶
func (m *TraceNode) GetContext() isTraceNode_Context
func (*TraceNode) GetFilepath ¶
func (*TraceNode) GetRpcCall ¶
func (x *TraceNode) GetRpcCall() *RPCCallNode
func (*TraceNode) GetRpcDef ¶
func (x *TraceNode) GetRpcDef() *RPCDefNode
func (*TraceNode) GetSrcColEnd ¶
func (*TraceNode) GetSrcColStart ¶
func (*TraceNode) GetSrcLineEnd ¶
func (*TraceNode) GetSrcLineStart ¶
func (*TraceNode) GetStartPos ¶
func (*TraceNode) GetStaticCall ¶
func (x *TraceNode) GetStaticCall() *StaticCallNode
func (*TraceNode) ProtoMessage ¶
func (*TraceNode) ProtoMessage()
func (*TraceNode) ProtoReflect ¶
func (x *TraceNode) ProtoReflect() protoreflect.Message
type TraceNode_AuthHandlerDef ¶
type TraceNode_AuthHandlerDef struct {
AuthHandlerDef *AuthHandlerDefNode `protobuf:"bytes,13,opt,name=auth_handler_def,json=authHandlerDef,proto3,oneof"`
}
type TraceNode_RpcCall ¶
type TraceNode_RpcCall struct {
RpcCall *RPCCallNode `protobuf:"bytes,11,opt,name=rpc_call,json=rpcCall,proto3,oneof"`
}
type TraceNode_RpcDef ¶
type TraceNode_RpcDef struct {
RpcDef *RPCDefNode `protobuf:"bytes,10,opt,name=rpc_def,json=rpcDef,proto3,oneof"`
}
type TraceNode_StaticCall ¶
type TraceNode_StaticCall struct {
StaticCall *StaticCallNode `protobuf:"bytes,12,opt,name=static_call,json=staticCall,proto3,oneof"`
}