sectionv1grpc

package
v1.3.0-20230707151846-... 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 (
	SectionPageService_GetSectionPage_FullMethodName = "/stroeer.page.section.v1.SectionPageService/GetSectionPage"
)

Variables

View Source
var SectionPageService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "stroeer.page.section.v1.SectionPageService",
	HandlerType: (*SectionPageServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSectionPage",
			Handler:    _SectionPageService_GetSectionPage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "stroeer/page/section/v1/section_page_service.proto",
}

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

Functions

func RegisterSectionPageServiceServer

func RegisterSectionPageServiceServer(s grpc.ServiceRegistrar, srv SectionPageServiceServer)

Types

type SectionPageServiceClient

type SectionPageServiceClient interface {
	GetSectionPage(ctx context.Context, in *v1.GetSectionPageRequest, opts ...grpc.CallOption) (*v1.GetSectionPageResponse, error)
}

SectionPageServiceClient is the client API for SectionPageService 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 NewSectionPageServiceClient

func NewSectionPageServiceClient(cc grpc.ClientConnInterface) SectionPageServiceClient

type SectionPageServiceServer

type SectionPageServiceServer interface {
	GetSectionPage(context.Context, *v1.GetSectionPageRequest) (*v1.GetSectionPageResponse, error)
}

SectionPageServiceServer is the server API for SectionPageService service. All implementations should embed UnimplementedSectionPageServiceServer for forward compatibility

type UnimplementedSectionPageServiceServer

type UnimplementedSectionPageServiceServer struct {
}

UnimplementedSectionPageServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedSectionPageServiceServer) GetSectionPage

type UnsafeSectionPageServiceServer

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

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

Jump to

Keyboard shortcuts

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