Documentation ¶
Index ¶
- type LocalClient
- func (c *LocalClient) CompileModule(ctx context.Context, in *pblangsvc.CompileModuleRequest, _ ...grpc.CallOption) (*pblangsvc.CompileModuleResponse, error)
- func (c *LocalClient) GetModuleDependencies(ctx context.Context, in *pblangsvc.GetModuleDependenciesRequest, ...) (*pblangsvc.GetModuleDependenciesResponse, error)
- func (c *LocalClient) IsCompilerVersionSupported(ctx context.Context, in *pblangsvc.IsCompilerVersionSupportedRequest, ...) (*pblangsvc.IsCompilerVersionSupportedResponse, error)
- func (c *LocalClient) ListLangs(ctx context.Context, in *pblangsvc.ListLangsRequest, _ ...grpc.CallOption) (*pblangsvc.ListLangsResponse, error)
- type Svc
- func (s *Svc) CompileModule(ctx context.Context, req *pblangsvc.CompileModuleRequest) (*pblangsvc.CompileModuleResponse, error)
- func (s *Svc) GetModuleDependencies(ctx context.Context, req *pblangsvc.GetModuleDependenciesRequest) (*pblangsvc.GetModuleDependenciesResponse, error)
- func (s *Svc) IsCompilerVersionSupported(ctx context.Context, req *pblangsvc.IsCompilerVersionSupportedRequest) (*pblangsvc.IsCompilerVersionSupportedResponse, error)
- func (s *Svc) ListLangs(context.Context, *pblangsvc.ListLangsRequest) (*pblangsvc.ListLangsResponse, error)
- func (s *Svc) Register(ctx context.Context, srv *grpc.Server, gw *runtime.ServeMux)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalClient ¶
type LocalClient struct {
Server pblangsvc.LangServer
}
func (*LocalClient) CompileModule ¶
func (c *LocalClient) CompileModule(ctx context.Context, in *pblangsvc.CompileModuleRequest, _ ...grpc.CallOption) (*pblangsvc.CompileModuleResponse, error)
func (*LocalClient) GetModuleDependencies ¶
func (c *LocalClient) GetModuleDependencies(ctx context.Context, in *pblangsvc.GetModuleDependenciesRequest, _ ...grpc.CallOption) (*pblangsvc.GetModuleDependenciesResponse, error)
func (*LocalClient) IsCompilerVersionSupported ¶
func (c *LocalClient) IsCompilerVersionSupported(ctx context.Context, in *pblangsvc.IsCompilerVersionSupportedRequest, _ ...grpc.CallOption) (*pblangsvc.IsCompilerVersionSupportedResponse, error)
func (*LocalClient) ListLangs ¶
func (c *LocalClient) ListLangs(ctx context.Context, in *pblangsvc.ListLangsRequest, _ ...grpc.CallOption) (*pblangsvc.ListLangsResponse, error)
type Svc ¶
func (*Svc) CompileModule ¶
func (s *Svc) CompileModule(ctx context.Context, req *pblangsvc.CompileModuleRequest) (*pblangsvc.CompileModuleResponse, error)
func (*Svc) GetModuleDependencies ¶
func (s *Svc) GetModuleDependencies(ctx context.Context, req *pblangsvc.GetModuleDependenciesRequest) (*pblangsvc.GetModuleDependenciesResponse, error)
func (*Svc) IsCompilerVersionSupported ¶
func (s *Svc) IsCompilerVersionSupported(ctx context.Context, req *pblangsvc.IsCompilerVersionSupportedRequest) (*pblangsvc.IsCompilerVersionSupportedResponse, error)
func (*Svc) ListLangs ¶
func (s *Svc) ListLangs(context.Context, *pblangsvc.ListLangsRequest) (*pblangsvc.ListLangsResponse, error)
Click to show internal directories.
Click to hide internal directories.