Documentation ¶
Index ¶
Constants ¶
const (
SectionPageService_GetSectionPage_FullMethodName = "/stroeer.page.section.v1.SectionPageService/GetSectionPage"
)
Variables ¶
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 ¶
func (UnimplementedSectionPageServiceServer) GetSectionPage(context.Context, *v1.GetSectionPageRequest) (*v1.GetSectionPageResponse, error)
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.