client

package
v0.0.0-...-845d9a5 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArticleFromID

func ArticleFromID(c echo.Context, ID int) (article *models.Article, err error)

func ArticlesFromCategory

func ArticlesFromCategory(c echo.Context, category string) (articles []models.Article, err error)

func ArticlesFromCategoryGRPC

func ArticlesFromCategoryGRPC(c echo.Context, category string) (articles []models.Article, err error)

func ArticlesFromIDGRPC

func ArticlesFromIDGRPC(c echo.Context, ID int) (article *models.Article, err error)

func ArticlesFromRegion

func ArticlesFromRegion(c echo.Context, regionID int) (articles []models.Article, err error)

func ArticlesFromRegionGRPC

func ArticlesFromRegionGRPC(c echo.Context, regionID int) (articles []models.Article, err error)

func InitArticlesGRPC

func InitArticlesGRPC() (err error)

func InitGRPCClient

func InitGRPCClient() (err error)

func InitUsersGRPC

func InitUsersGRPC() (err error)

func UserFromID

func UserFromID(c echo.Context, ID int) (user *models.User, err error)

func UsersFromIDGRPC

func UsersFromIDGRPC(c echo.Context, ID int) (user *models.User, err error)

func UsersFromRegion

func UsersFromRegion(c echo.Context, region string) (users []models.User, err error)

func UsersFromRegionGRPC

func UsersFromRegionGRPC(c echo.Context, region string) (users []models.User, err error)

Types

This section is empty.

Directories

Path Synopsis
pb

Jump to

Keyboard shortcuts

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