record

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logic

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

func NewLogic

func NewLogic(ctx context.Context, svcCtx *svc.ServiceContext) Logic

func (*Logic) FocusGroup

func (l *Logic) FocusGroup(Operator string, logId int64) error

func (*Logic) FocusPersonal

func (l *Logic) FocusPersonal(Operator string, logId int64) error

func (*Logic) GetPriRecord

func (l *Logic) GetPriRecord(req *model.GetPriRecordsReq) (*model.GetPriRecordsResp, error)

func (*Logic) GetSyncRecord

func (l *Logic) GetSyncRecord(uid string, req *model.SyncRecordsReq) (*model.SyncRecordsResp, error)

func (*Logic) Push

func (l *Logic) Push(key, from string, body []byte) (int64, uint64, error)

func (*Logic) RevokeGroup

func (l *Logic) RevokeGroup(Operator string, mid int64) error

func (*Logic) RevokePersonal

func (l *Logic) RevokePersonal(Operator string, mid int64) error

Jump to

Keyboard shortcuts

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