Documentation ¶
Index ¶
- type Entangle
- type ToEntangle
- func (t *ToEntangle) Add(a string, b string) (err error)
- func (t *ToEntangle) Close()
- func (t *ToEntangle) GetA(a string) (arr []string, err error)
- func (t *ToEntangle) GetB(b string) (arr []string, err error)
- func (t *ToEntangle) Remove(a string, b string) (err error)
- func (t *ToEntangle) RemoveA(a string) (err error)
- func (t *ToEntangle) RemoveB(b string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entangle ¶
type Entangle struct {
// contains filtered or unexported fields
}
type ToEntangle ¶
type ToEntangle struct {
// contains filtered or unexported fields
}
func (*ToEntangle) Add ¶
func (t *ToEntangle) Add(a string, b string) (err error)
Add 添加一对数据, 使其双向绑定
func (*ToEntangle) GetA ¶
func (t *ToEntangle) GetA(a string) (arr []string, err error)
GetA 获取一个数据的全部绑定数据
func (*ToEntangle) GetB ¶
func (t *ToEntangle) GetB(b string) (arr []string, err error)
GetB 获取一个数据的全部绑定数据
func (*ToEntangle) Remove ¶
func (t *ToEntangle) Remove(a string, b string) (err error)
Remove 移除一对数据, 使其双向解绑
func (*ToEntangle) RemoveA ¶
func (t *ToEntangle) RemoveA(a string) (err error)
RemoveA 移除一个数据, 使其全部解绑
func (*ToEntangle) RemoveB ¶
func (t *ToEntangle) RemoveB(b string) (err error)
RemoveB 移除一个数据, 使其全部解绑
Click to show internal directories.
Click to hide internal directories.