articlev1grpc

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 (
	ArticlePageService_GetArticlePage_FullMethodName = "/stroeer.page.article.v1.ArticlePageService/GetArticlePage"
)

Variables

View Source
var ArticlePageService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "stroeer.page.article.v1.ArticlePageService",
	HandlerType: (*ArticlePageServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetArticlePage",
			Handler:    _ArticlePageService_GetArticlePage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "stroeer/page/article/v1/article_page_service.proto",
}

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

Functions

func RegisterArticlePageServiceServer

func RegisterArticlePageServiceServer(s grpc.ServiceRegistrar, srv ArticlePageServiceServer)

Types

type ArticlePageServiceClient

type ArticlePageServiceClient interface {
	GetArticlePage(ctx context.Context, in *v1.GetArticlePageRequest, opts ...grpc.CallOption) (*v1.GetArticlePageResponse, error)
}

ArticlePageServiceClient is the client API for ArticlePageService 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 NewArticlePageServiceClient

func NewArticlePageServiceClient(cc grpc.ClientConnInterface) ArticlePageServiceClient

type ArticlePageServiceServer

type ArticlePageServiceServer interface {
	GetArticlePage(context.Context, *v1.GetArticlePageRequest) (*v1.GetArticlePageResponse, error)
}

ArticlePageServiceServer is the server API for ArticlePageService service. All implementations should embed UnimplementedArticlePageServiceServer for forward compatibility

type UnimplementedArticlePageServiceServer

type UnimplementedArticlePageServiceServer struct {
}

UnimplementedArticlePageServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedArticlePageServiceServer) GetArticlePage

type UnsafeArticlePageServiceServer

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

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

Jump to

Keyboard shortcuts

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