article_handler

package
v0.0.0-...-9df3d9d Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TranslateArrObjSort

func TranslateArrObjSort(c *gin.Context) ([]articlePb.Sort, string)

Types

type Handler

type Handler interface {
	//HealthCheck(*gin.Context)
	GetArticle(*gin.Context)
	GetListArticle(*gin.Context)

	InsertArticle(*gin.Context)
}

func NewArticleHandler

func NewArticleHandler(ctx context.Context, log *logrus.Logger, conn articlePb.ArticleServiceClient) Handler

Jump to

Keyboard shortcuts

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