Documentation ¶
Index ¶
Constants ¶
const (
ArticlePageService_GetArticlePage_FullMethodName = "/stroeer.page.article.v1.ArticlePageService/GetArticlePage"
)
Variables ¶
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.
* ```protobuf
service ArticlePageService { # turns the requested article with editorial render relevant data for the user and SEO bots. rpc GetArticlePage (GetArticlePageRequest) returns (GetArticlePageResponse) {} }
``` # Description
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.
* ```protobuf
service ArticlePageService { # turns the requested article with editorial render relevant data for the user and SEO bots. rpc GetArticlePage (GetArticlePageRequest) returns (GetArticlePageResponse) {} }
``` # Description
type UnimplementedArticlePageServiceServer ¶
type UnimplementedArticlePageServiceServer struct{}
UnimplementedArticlePageServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedArticlePageServiceServer) GetArticlePage ¶
func (UnimplementedArticlePageServiceServer) GetArticlePage(context.Context, *v1.GetArticlePageRequest) (*v1.GetArticlePageResponse, error)
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.