cache

package
v0.0.0-...-368ee11 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemberService

type MemberService struct {
	*lru.Cache
	mater.MemberService
}

func NewMemberService

func NewMemberService(size int, ms mater.MemberService) *MemberService

func (*MemberService) AddMember

func (m *MemberService) AddMember(errCh chan error, member mater.Member)

func (*MemberService) GetMember

func (m *MemberService) GetMember(mCh chan *mater.Member, errCh chan error, memberID string)

func (*MemberService) RemoveMember

func (m *MemberService) RemoveMember(errCh chan error, memberID string)

func (*MemberService) UpdateMember

func (m *MemberService) UpdateMember(errCh chan error, member *mater.Member)

Jump to

Keyboard shortcuts

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