fragmentv1grpc

package
v1.3.0-20230707084111-... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StageService_GetStages_FullMethodName            = "/stroeer.fragment.v1.StageService/GetStages"
	StageService_GetArticleCompanions_FullMethodName = "/stroeer.fragment.v1.StageService/GetArticleCompanions"
)

Variables

View Source
var StageService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "stroeer.fragment.v1.StageService",
	HandlerType: (*StageServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetStages",
			Handler:    _StageService_GetStages_Handler,
		},
		{
			MethodName: "GetArticleCompanions",
			Handler:    _StageService_GetArticleCompanions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "stroeer/fragment/v1/stage_service.proto",
}

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

Functions

func RegisterStageServiceServer

func RegisterStageServiceServer(s grpc.ServiceRegistrar, srv StageServiceServer)

Types

type StageServiceClient

type StageServiceClient interface {
	GetStages(ctx context.Context, in *v1.GetStagesRequest, opts ...grpc.CallOption) (*v1.GetStagesResponse, error)
	GetArticleCompanions(ctx context.Context, in *v1.GetArticleCompanionsRequest, opts ...grpc.CallOption) (*v1.GetArticleCompanionsResponse, error)
}

StageServiceClient is the client API for StageService 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 NewStageServiceClient

func NewStageServiceClient(cc grpc.ClientConnInterface) StageServiceClient

type StageServiceServer

type StageServiceServer interface {
	GetStages(context.Context, *v1.GetStagesRequest) (*v1.GetStagesResponse, error)
	GetArticleCompanions(context.Context, *v1.GetArticleCompanionsRequest) (*v1.GetArticleCompanionsResponse, error)
}

StageServiceServer is the server API for StageService service. All implementations should embed UnimplementedStageServiceServer for forward compatibility

type UnimplementedStageServiceServer

type UnimplementedStageServiceServer struct {
}

UnimplementedStageServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedStageServiceServer) GetArticleCompanions

func (UnimplementedStageServiceServer) GetStages

type UnsafeStageServiceServer

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

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

Jump to

Keyboard shortcuts

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