Documentation ¶
Index ¶
- type MemberService
- func (m *MemberService) AddMember(errCh chan error, member mater.Member)
- func (m *MemberService) GetMember(mCh chan *mater.Member, errCh chan error, memberID string)
- func (m *MemberService) RemoveMember(errCh chan error, memberID string)
- func (m *MemberService) UpdateMember(errCh chan error, member *mater.Member)
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)
Click to show internal directories.
Click to hide internal directories.