Documentation
¶
Index ¶
- Variables
- func RegisterAnalyzerServer(s *grpc.Server, srv AnalyzerServer)
- type AnalyzeRequest
- func (*AnalyzeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeRequest) GetCommitHash() string
- func (x *AnalyzeRequest) GetLibraries() []*LuaLibrary
- func (x *AnalyzeRequest) GetProjectID() string
- func (*AnalyzeRequest) ProtoMessage()
- func (x *AnalyzeRequest) ProtoReflect() protoreflect.Message
- func (x *AnalyzeRequest) Reset()
- func (x *AnalyzeRequest) String() string
- type AnalyzeResponse
- type AnalyzerClient
- type AnalyzerServer
- type LuaLibrary
- type UnimplementedAnalyzerServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_lua_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAnalyzerServer ¶
func RegisterAnalyzerServer(s *grpc.Server, srv AnalyzerServer)
Types ¶
type AnalyzeRequest ¶
type AnalyzeRequest struct { ProjectID string `protobuf:"bytes,1,opt,name=projectID,proto3" json:"projectID,omitempty"` CommitHash string `protobuf:"bytes,2,opt,name=commitHash,proto3" json:"commitHash,omitempty"` Libraries []*LuaLibrary `protobuf:"bytes,3,rep,name=libraries,proto3" json:"libraries,omitempty"` // contains filtered or unexported fields }
func (*AnalyzeRequest) Descriptor
deprecated
func (*AnalyzeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeRequest.ProtoReflect.Descriptor instead.
func (*AnalyzeRequest) GetCommitHash ¶
func (x *AnalyzeRequest) GetCommitHash() string
func (*AnalyzeRequest) GetLibraries ¶
func (x *AnalyzeRequest) GetLibraries() []*LuaLibrary
func (*AnalyzeRequest) GetProjectID ¶
func (x *AnalyzeRequest) GetProjectID() string
func (*AnalyzeRequest) ProtoMessage ¶
func (*AnalyzeRequest) ProtoMessage()
func (*AnalyzeRequest) ProtoReflect ¶
func (x *AnalyzeRequest) ProtoReflect() protoreflect.Message
func (*AnalyzeRequest) Reset ¶
func (x *AnalyzeRequest) Reset()
func (*AnalyzeRequest) String ¶
func (x *AnalyzeRequest) String() string
type AnalyzeResponse ¶
type AnalyzeResponse struct {
// contains filtered or unexported fields
}
func (*AnalyzeResponse) Descriptor
deprecated
func (*AnalyzeResponse) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeResponse.ProtoReflect.Descriptor instead.
func (*AnalyzeResponse) ProtoMessage ¶
func (*AnalyzeResponse) ProtoMessage()
func (*AnalyzeResponse) ProtoReflect ¶
func (x *AnalyzeResponse) ProtoReflect() protoreflect.Message
func (*AnalyzeResponse) Reset ¶
func (x *AnalyzeResponse) Reset()
func (*AnalyzeResponse) String ¶
func (x *AnalyzeResponse) String() string
type AnalyzerClient ¶
type AnalyzerClient interface {
Analyze(ctx context.Context, in *AnalyzeRequest, opts ...grpc.CallOption) (*AnalyzeResponse, error)
}
AnalyzerClient is the client API for Analyzer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAnalyzerClient ¶
func NewAnalyzerClient(cc grpc.ClientConnInterface) AnalyzerClient
type AnalyzerServer ¶
type AnalyzerServer interface {
Analyze(context.Context, *AnalyzeRequest) (*AnalyzeResponse, error)
}
AnalyzerServer is the server API for Analyzer service.
type LuaLibrary ¶
type LuaLibrary struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Classes []string `protobuf:"bytes,2,rep,name=classes,proto3" json:"classes,omitempty"` // contains filtered or unexported fields }
func (*LuaLibrary) Descriptor
deprecated
func (*LuaLibrary) Descriptor() ([]byte, []int)
Deprecated: Use LuaLibrary.ProtoReflect.Descriptor instead.
func (*LuaLibrary) GetClasses ¶
func (x *LuaLibrary) GetClasses() []string
func (*LuaLibrary) GetName ¶
func (x *LuaLibrary) GetName() string
func (*LuaLibrary) ProtoMessage ¶
func (*LuaLibrary) ProtoMessage()
func (*LuaLibrary) ProtoReflect ¶
func (x *LuaLibrary) ProtoReflect() protoreflect.Message
func (*LuaLibrary) Reset ¶
func (x *LuaLibrary) Reset()
func (*LuaLibrary) String ¶
func (x *LuaLibrary) String() string
type UnimplementedAnalyzerServer ¶
type UnimplementedAnalyzerServer struct { }
UnimplementedAnalyzerServer can be embedded to have forward compatible implementations.
func (*UnimplementedAnalyzerServer) Analyze ¶
func (*UnimplementedAnalyzerServer) Analyze(context.Context, *AnalyzeRequest) (*AnalyzeResponse, error)
Click to show internal directories.
Click to hide internal directories.