logic

package
v0.0.0-...-4b7da6d Latest Latest
Warning

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

Go to latest
Published: May 29, 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 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)

Jump to

Keyboard shortcuts

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