Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BothStreamLogic ¶
type BothStreamLogic struct {
// contains filtered or unexported fields
}
This is a compile-time assertion to ensure that this generated file is compatible with the Ccheers/protoc-gen-zeroapi package it is being compiled against.
func NewBothStreamLogic ¶
func NewBothStreamLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BothStreamLogic
func (*BothStreamLogic) BothStream ¶
func (l *BothStreamLogic) BothStream(stream v1.BlogService_BothStreamServer) error
type CliStreamLogic ¶
type CliStreamLogic struct {
// contains filtered or unexported fields
}
This is a compile-time assertion to ensure that this generated file is compatible with the Ccheers/protoc-gen-zeroapi package it is being compiled against.
func NewCliStreamLogic ¶
func NewCliStreamLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CliStreamLogic
func (*CliStreamLogic) CliStream ¶
func (l *CliStreamLogic) CliStream(req *v1.SvrStreamRequest, stream v1.BlogService_CliStreamServer) error
type CreateArticleLogic ¶
type CreateArticleLogic struct {
// contains filtered or unexported fields
}
This is a compile-time assertion to ensure that this generated file is compatible with the Ccheers/protoc-gen-zeroapi package it is being compiled against.
func NewCreateArticleLogic ¶
func NewCreateArticleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateArticleLogic
func (*CreateArticleLogic) CreateArticle ¶
type GetArticlesLogic ¶
type GetArticlesLogic struct {
// contains filtered or unexported fields
}
This is a compile-time assertion to ensure that this generated file is compatible with the Ccheers/protoc-gen-zeroapi package it is being compiled against.
func NewGetArticlesLogic ¶
func NewGetArticlesLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetArticlesLogic
func (*GetArticlesLogic) GetArticles ¶
func (l *GetArticlesLogic) GetArticles(req *v1.GetArticlesReq) (*v1.GetArticlesResp, error)
type SvrStreamLogic ¶
type SvrStreamLogic struct {
// contains filtered or unexported fields
}
This is a compile-time assertion to ensure that this generated file is compatible with the Ccheers/protoc-gen-zeroapi package it is being compiled against.
func NewSvrStreamLogic ¶
func NewSvrStreamLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SvrStreamLogic
func (*SvrStreamLogic) SvrStream ¶
func (l *SvrStreamLogic) SvrStream(stream v1.BlogService_SvrStreamServer) error