v1

package
v0.3.52 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BlenderService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "basket.blender_service.v1.BlenderService",
	HandlerType: (*BlenderServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "NormalizeAsset",
			Handler:    _BlenderService_NormalizeAsset_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "basket/blender-service/v1/blender.proto",
}

BlenderService_ServiceDesc is the grpc.ServiceDesc for BlenderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_basket_blender_service_v1_blender_proto protoreflect.FileDescriptor

Functions

func RegisterBlenderServiceServer

func RegisterBlenderServiceServer(s grpc.ServiceRegistrar, srv BlenderServiceServer)

Types

type BlenderServiceClient

type BlenderServiceClient interface {
	NormalizeAsset(ctx context.Context, in *NormalizeAssetRequest, opts ...grpc.CallOption) (*NormalizeAssetResponse, error)
}

BlenderServiceClient is the client API for BlenderService 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.

type BlenderServiceServer

type BlenderServiceServer interface {
	NormalizeAsset(context.Context, *NormalizeAssetRequest) (*NormalizeAssetResponse, error)
	// contains filtered or unexported methods
}

BlenderServiceServer is the server API for BlenderService service. All implementations must embed UnimplementedBlenderServiceServer for forward compatibility

type NormalizeAssetRequest

type NormalizeAssetRequest struct {
	AssetUrl string `protobuf:"bytes,1,opt,name=asset_url,json=assetUrl,proto3" json:"asset_url,omitempty"`
	// contains filtered or unexported fields
}

func (*NormalizeAssetRequest) Descriptor deprecated

func (*NormalizeAssetRequest) Descriptor() ([]byte, []int)

Deprecated: Use NormalizeAssetRequest.ProtoReflect.Descriptor instead.

func (*NormalizeAssetRequest) GetAssetUrl

func (x *NormalizeAssetRequest) GetAssetUrl() string

func (*NormalizeAssetRequest) ProtoMessage

func (*NormalizeAssetRequest) ProtoMessage()

func (*NormalizeAssetRequest) ProtoReflect

func (x *NormalizeAssetRequest) ProtoReflect() protoreflect.Message

func (*NormalizeAssetRequest) Reset

func (x *NormalizeAssetRequest) Reset()

func (*NormalizeAssetRequest) String

func (x *NormalizeAssetRequest) String() string

type NormalizeAssetResponse

type NormalizeAssetResponse struct {
	NormalizedUrl string `protobuf:"bytes,1,opt,name=normalized_url,json=normalizedUrl,proto3" json:"normalized_url,omitempty"`
	// contains filtered or unexported fields
}

func (*NormalizeAssetResponse) Descriptor deprecated

func (*NormalizeAssetResponse) Descriptor() ([]byte, []int)

Deprecated: Use NormalizeAssetResponse.ProtoReflect.Descriptor instead.

func (*NormalizeAssetResponse) GetNormalizedUrl

func (x *NormalizeAssetResponse) GetNormalizedUrl() string

func (*NormalizeAssetResponse) ProtoMessage

func (*NormalizeAssetResponse) ProtoMessage()

func (*NormalizeAssetResponse) ProtoReflect

func (x *NormalizeAssetResponse) ProtoReflect() protoreflect.Message

func (*NormalizeAssetResponse) Reset

func (x *NormalizeAssetResponse) Reset()

func (*NormalizeAssetResponse) String

func (x *NormalizeAssetResponse) String() string

type UnimplementedBlenderServiceServer

type UnimplementedBlenderServiceServer struct {
}

UnimplementedBlenderServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedBlenderServiceServer) NormalizeAsset

type UnsafeBlenderServiceServer

type UnsafeBlenderServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeBlenderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BlenderServiceServer will result in compilation errors.

Directories

Path Synopsis
Package blender_mock is a generated GoMock package.
Package blender_mock is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL