logic

package
v0.0.0-...-97cb226 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2023 License: MIT Imports: 4 Imported by: 0

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

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

func (l *CreateArticleLogic) CreateArticle(req *v1.Article) (*v1.Article, error)

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

Jump to

Keyboard shortcuts

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