articleservice

package
v0.0.0-...-f7f4ed5 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Cache repo.Cache
	Store database.Storage
}

Server -

func NewArticleService

func NewArticleService(c repo.Cache, s database.Storage) *Server

NewArticleService -

func (*Server) GetArticle

func (a *Server) GetArticle(ctx context.Context, req *grpcProto.ArticleRequest) (*grpcProto.Article, error)

GetArticle -

func (*Server) GetTagInfo

func (a *Server) GetTagInfo(ctx context.Context, req *grpcProto.ArticleRequest) (*grpcProto.TagInfo, error)

GetTagInfo -

Jump to

Keyboard shortcuts

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