Documentation ¶
Index ¶
- Variables
- func RegisterRockamalgServer(s grpc.ServiceRegistrar, srv RockamalgServer)
- type AmalgRequest
- func (*AmalgRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AmalgRequest) GetAllowDevDependencies() bool
- func (x *AmalgRequest) GetDependencies() []string
- func (x *AmalgRequest) GetDisableDebug() bool
- func (x *AmalgRequest) GetIsolate() bool
- func (x *AmalgRequest) GetLuaDir() []byte
- func (x *AmalgRequest) GetLuaFile() []byte
- func (x *AmalgRequest) GetRockspec() []byte
- func (*AmalgRequest) ProtoMessage()
- func (x *AmalgRequest) ProtoReflect() protoreflect.Message
- func (x *AmalgRequest) Reset()
- func (x *AmalgRequest) String() string
- type AmalgResponse
- type RockamalgClient
- type RockamalgServer
- type UnimplementedRockamalgServer
- type UnsafeRockamalgServer
Constants ¶
This section is empty.
Variables ¶
var File_rockamalg_proto protoreflect.FileDescriptor
var Rockamalg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "rockamalg.rpc.Rockamalg", HandlerType: (*RockamalgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Ping", Handler: _Rockamalg_Ping_Handler, }, { MethodName: "Amalg", Handler: _Rockamalg_Amalg_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "rockamalg.proto", }
Rockamalg_ServiceDesc is the grpc.ServiceDesc for Rockamalg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRockamalgServer ¶
func RegisterRockamalgServer(s grpc.ServiceRegistrar, srv RockamalgServer)
Types ¶
type AmalgRequest ¶
type AmalgRequest struct { LuaFile []byte `protobuf:"bytes,1,opt,name=lua_file,json=luaFile,proto3" json:"lua_file,omitempty"` LuaDir []byte `protobuf:"bytes,2,opt,name=lua_dir,json=luaDir,proto3" json:"lua_dir,omitempty"` Dependencies []string `protobuf:"bytes,3,rep,name=dependencies,proto3" json:"dependencies,omitempty"` Rockspec []byte `protobuf:"bytes,4,opt,name=rockspec,proto3" json:"rockspec,omitempty"` Isolate bool `protobuf:"varint,5,opt,name=isolate,proto3" json:"isolate,omitempty"` DisableDebug bool `protobuf:"varint,6,opt,name=disable_debug,json=disableDebug,proto3" json:"disable_debug,omitempty"` AllowDevDependencies bool `protobuf:"varint,7,opt,name=allow_dev_dependencies,json=allowDevDependencies,proto3" json:"allow_dev_dependencies,omitempty"` // contains filtered or unexported fields }
func (*AmalgRequest) Descriptor
deprecated
func (*AmalgRequest) Descriptor() ([]byte, []int)
Deprecated: Use AmalgRequest.ProtoReflect.Descriptor instead.
func (*AmalgRequest) GetAllowDevDependencies ¶ added in v0.10.0
func (x *AmalgRequest) GetAllowDevDependencies() bool
func (*AmalgRequest) GetDependencies ¶
func (x *AmalgRequest) GetDependencies() []string
func (*AmalgRequest) GetDisableDebug ¶ added in v0.9.0
func (x *AmalgRequest) GetDisableDebug() bool
func (*AmalgRequest) GetIsolate ¶ added in v0.7.0
func (x *AmalgRequest) GetIsolate() bool
func (*AmalgRequest) GetLuaDir ¶ added in v0.6.0
func (x *AmalgRequest) GetLuaDir() []byte
func (*AmalgRequest) GetLuaFile ¶ added in v0.6.0
func (x *AmalgRequest) GetLuaFile() []byte
func (*AmalgRequest) GetRockspec ¶
func (x *AmalgRequest) GetRockspec() []byte
func (*AmalgRequest) ProtoMessage ¶
func (*AmalgRequest) ProtoMessage()
func (*AmalgRequest) ProtoReflect ¶
func (x *AmalgRequest) ProtoReflect() protoreflect.Message
func (*AmalgRequest) Reset ¶
func (x *AmalgRequest) Reset()
func (*AmalgRequest) String ¶
func (x *AmalgRequest) String() string
type AmalgResponse ¶
type AmalgResponse struct { Lua []byte `protobuf:"bytes,1,opt,name=lua,proto3" json:"lua,omitempty"` // contains filtered or unexported fields }
func (*AmalgResponse) Descriptor
deprecated
func (*AmalgResponse) Descriptor() ([]byte, []int)
Deprecated: Use AmalgResponse.ProtoReflect.Descriptor instead.
func (*AmalgResponse) GetLua ¶
func (x *AmalgResponse) GetLua() []byte
func (*AmalgResponse) ProtoMessage ¶
func (*AmalgResponse) ProtoMessage()
func (*AmalgResponse) ProtoReflect ¶
func (x *AmalgResponse) ProtoReflect() protoreflect.Message
func (*AmalgResponse) Reset ¶
func (x *AmalgResponse) Reset()
func (*AmalgResponse) String ¶
func (x *AmalgResponse) String() string
type RockamalgClient ¶
type RockamalgClient interface { Ping(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) Amalg(ctx context.Context, in *AmalgRequest, opts ...grpc.CallOption) (*AmalgResponse, error) }
RockamalgClient is the client API for Rockamalg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRockamalgClient ¶
func NewRockamalgClient(cc grpc.ClientConnInterface) RockamalgClient
type RockamalgServer ¶
type RockamalgServer interface { Ping(context.Context, *emptypb.Empty) (*emptypb.Empty, error) Amalg(context.Context, *AmalgRequest) (*AmalgResponse, error) // contains filtered or unexported methods }
RockamalgServer is the server API for Rockamalg service. All implementations must embed UnimplementedRockamalgServer for forward compatibility
type UnimplementedRockamalgServer ¶
type UnimplementedRockamalgServer struct { }
UnimplementedRockamalgServer must be embedded to have forward compatible implementations.
func (UnimplementedRockamalgServer) Amalg ¶
func (UnimplementedRockamalgServer) Amalg(context.Context, *AmalgRequest) (*AmalgResponse, error)
type UnsafeRockamalgServer ¶
type UnsafeRockamalgServer interface {
// contains filtered or unexported methods
}
UnsafeRockamalgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RockamalgServer will result in compilation errors.