Documentation ¶
Index ¶
- func ArticleFromID(c echo.Context, ID int) (article *models.Article, err error)
- func ArticlesFromCategory(c echo.Context, category string) (articles []models.Article, err error)
- func ArticlesFromCategoryGRPC(c echo.Context, category string) (articles []models.Article, err error)
- func ArticlesFromIDGRPC(c echo.Context, ID int) (article *models.Article, err error)
- func ArticlesFromRegion(c echo.Context, regionID int) (articles []models.Article, err error)
- func ArticlesFromRegionGRPC(c echo.Context, regionID int) (articles []models.Article, err error)
- func InitArticlesGRPC() (err error)
- func InitGRPCClient() (err error)
- func InitUsersGRPC() (err error)
- func UserFromID(c echo.Context, ID int) (user *models.User, err error)
- func UsersFromIDGRPC(c echo.Context, ID int) (user *models.User, err error)
- func UsersFromRegion(c echo.Context, region string) (users []models.User, err error)
- func UsersFromRegionGRPC(c echo.Context, region string) (users []models.User, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArticleFromID ¶
func ArticlesFromCategory ¶
func ArticlesFromIDGRPC ¶
func ArticlesFromRegion ¶
func ArticlesFromRegionGRPC ¶
func InitArticlesGRPC ¶
func InitArticlesGRPC() (err error)
func InitGRPCClient ¶
func InitGRPCClient() (err error)
func InitUsersGRPC ¶
func InitUsersGRPC() (err error)
func UsersFromRegion ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.