client

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service struct info.

func New

func New(c *rpc.ClientConfig) (s *Service)

New new service instance and return.

func (*Service) ActProtocol

func (s *Service) ActProtocol(c context.Context, arg *matmdl.ArgActProtocol) (res *matmdl.SubProtocol, err error)

ActProtocol get protocol message

func (*Service) ActSubject

func (s *Service) ActSubject(c context.Context, arg *matmdl.ArgActSubject) (res *matmdl.SubjectItem, err error)

ActSubject get act subject item.

func (*Service) AddLikeCtimeCache

func (s *Service) AddLikeCtimeCache(c context.Context, arg *matmdl.ArgLikeUp) (err error)

AddLikeCtimeCache add like ctime cache

func (*Service) DelLikeCtimeCache

func (s *Service) DelLikeCtimeCache(c context.Context, arg *matmdl.ArgLikeItem) (err error)

DelLikeCtimeCache del like ctime cache

func (*Service) LikeUp

func (s *Service) LikeUp(c context.Context, arg *matmdl.ArgLikeUp) (err error)

LikeUp update likes cache

func (*Service) Matchs

func (s *Service) Matchs(c context.Context, arg *matmdl.ArgMatch) (res []*matmdl.Match, err error)

Matchs receive matchs

func (*Service) SubjectUp

func (s *Service) SubjectUp(c context.Context, arg *matmdl.ArgSubjectUp) (err error)

SubjectUp update act_subject cache.

Jump to

Keyboard shortcuts

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