srv

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start()

Types

type Hrefs

type Hrefs struct{}

func (*Hrefs) DeleteArticle

func (s *Hrefs) DeleteArticle(ctx context.Context, req string, rsp *int64) error
func (s *Hrefs) DeleteCusLink(ctx context.Context, req int, rsp *int64) error
func (s *Hrefs) DeleteLink(ctx context.Context, req string, rsp *int64) error

func (*Hrefs) GetAccount

func (s *Hrefs) GetAccount(ctx context.Context, req int, rsp *model.Account) error

func (*Hrefs) GetAccountList

func (s *Hrefs) GetAccountList(ctx context.Context, req *model.Pager, rsp *model.AccountList) error

func (*Hrefs) GetArticle

func (s *Hrefs) GetArticle(ctx context.Context, req string, rsp *model.Article) error

func (*Hrefs) GetArticleList

func (s *Hrefs) GetArticleList(ctx context.Context, req *model.SearchPager, rsp *model.ArticleList) error

func (*Hrefs) GetCatOptions

func (s *Hrefs) GetCatOptions(ctx context.Context, req bool, rsp *model.LinkCatList) error
func (s *Hrefs) GetCusLink(ctx context.Context, req int, rsp *model.CusLink) error
func (s *Hrefs) GetCusLinkList(ctx context.Context, req *model.SearchPager, rsp *model.CusLinkList) error

func (*Hrefs) GetCusLinkUrl

func (s *Hrefs) GetCusLinkUrl(ctx context.Context, req int, rsp *string) error
func (s *Hrefs) GetLink(ctx context.Context, req string, rsp *model.Link) error

func (*Hrefs) GetLinkCat

func (s *Hrefs) GetLinkCat(ctx context.Context, req string, rsp *model.LinkCat) error
func (s *Hrefs) GetLinkList(ctx context.Context, req *model.SearchPager, rsp *model.LinkList) error

func (*Hrefs) GetLinkUrl

func (s *Hrefs) GetLinkUrl(ctx context.Context, req string, rsp *string) error

func (*Hrefs) GetToken

func (s *Hrefs) GetToken(ctx context.Context, req string, rsp *string) error
func (s *Hrefs) IndexLinks(ctx context.Context, req bool, rsp *model.LinkList) error

func (*Hrefs) LinkVisitedCount

func (s *Hrefs) LinkVisitedCount(ctx context.Context, req bool, rsp *int64) error

func (*Hrefs) ListArticles

func (s *Hrefs) ListArticles(ctx context.Context, req bool, rsp *model.ArticleList) error
func (s *Hrefs) ListCusLinks(ctx context.Context, req bool, rsp *model.CusLinkList) error

func (*Hrefs) ListCusLinksByCatId

func (s *Hrefs) ListCusLinksByCatId(ctx context.Context, req string, rsp *model.CusLinkList) error
func (s *Hrefs) ListLinks(ctx context.Context, req string, rsp *model.LinkList) error

func (*Hrefs) Login

func (s *Hrefs) Login(ctx context.Context, req *model.Account, rsp *model.Account) error

func (*Hrefs) SaveArticle

func (s *Hrefs) SaveArticle(ctx context.Context, req *model.Article, rsp *int64) error
func (s *Hrefs) SaveCusLink(ctx context.Context, req *model.CusLink, rsp *int64) error
func (s *Hrefs) SaveLink(ctx context.Context, req *model.Link, rsp *int64) error

func (*Hrefs) SetToken

func (s *Hrefs) SetToken(ctx context.Context, req *model.Token, rsp *bool) error

func (*Hrefs) TopArticles

func (s *Hrefs) TopArticles(ctx context.Context, req bool, rsp *model.ArticleList) error
func (s *Hrefs) TopCusLinks(ctx context.Context, req bool, rsp *model.CusLinkList) error

func (*Hrefs) UpdateArticleVisited

func (s *Hrefs) UpdateArticleVisited(ctx context.Context, req string, rsp *bool) error

func (*Hrefs) UpdateCusLinkVisited

func (s *Hrefs) UpdateCusLinkVisited(ctx context.Context, req int, rsp *bool) error

func (*Hrefs) UpdateLinkVisited

func (s *Hrefs) UpdateLinkVisited(ctx context.Context, req string, rsp *bool) error

Jump to

Keyboard shortcuts

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