service

package
v0.0.0-...-c2164b1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 6 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewBlogService)

ProviderSet is service providers.

Functions

This section is empty.

Types

type ApigwService

type ApigwService struct {
	pb.UnimplementedApigwServer
}

func NewApigwService

func NewApigwService() *ApigwService

func (*ApigwService) CreateArticle

func (s *ApigwService) CreateArticle(ctx context.Context, req *pb.Article) (*pb.CreateArticleReply, error)

func (*ApigwService) DeleteArticle

func (*ApigwService) GetArticle

func (s *ApigwService) GetArticle(ctx context.Context, req *pb.GetArticleRequest) (*pb.GetArticleReply, error)

func (*ApigwService) ListArticle

func (s *ApigwService) ListArticle(ctx context.Context, req *pb.ListArticleRequest) (*pb.ListArticleReply, error)

func (*ApigwService) Login

func (*ApigwService) Register

func (*ApigwService) UpdateArticle

type ArticleService

type ArticleService struct {
	pb.UnimplementedArtictlServiceServer
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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