Documentation
¶
Index ¶
- type Adapter
- type DataChangeNotifier
- type DataListener
- type GetBytes
- type MultiNotifier
- type NoOp
- type SetBytes
- type ThreadCtx
- func (p *ThreadCtx) ReadThrift(get GetBytes, emptyStruct thrift.TStruct) error
- func (p *ThreadCtx) ReadThriftBytes(data []byte, emptyStruct thrift.TStruct) error
- func (p *ThreadCtx) SetThrift(set SetBytes, tStruct thrift.TStruct) (path string, err error)
- func (p *ThreadCtx) ToBytes(tStruct thrift.TStruct) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataChangeNotifier ¶
type DataChangeNotifier interface {
OnChange(str string)
}
type DataListener ¶
type MultiNotifier ¶
type MultiNotifier struct {
// contains filtered or unexported fields
}
func NewMultiNotifier ¶
func NewMultiNotifier() *MultiNotifier
func (*MultiNotifier) AddClient ¶
func (p *MultiNotifier) AddClient(notifier DataChangeNotifier)
func (*MultiNotifier) OnChange ¶
func (p *MultiNotifier) OnChange(src string)
type ThreadCtx ¶
type ThreadCtx struct {
// contains filtered or unexported fields
}
func NewThreadCtx ¶
func NewThreadCtx() *ThreadCtx
func (*ThreadCtx) ReadThrift ¶
func (*ThreadCtx) ReadThriftBytes ¶
Click to show internal directories.
Click to hide internal directories.