Documentation
¶
Index ¶
- type BackendInterface
- type LocalBackend
- func (l *LocalBackend) Activate()
- func (l *LocalBackend) Clone() BackendInterface
- func (l LocalBackend) GetPoolSize() int
- func (l *LocalBackend) GetResult(key string) (message.Result, error)
- func (l *LocalBackend) SetPoolSize(i int)
- func (l *LocalBackend) SetResult(result message.Result, exTime int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendInterface ¶
type LocalBackend ¶
type LocalBackend struct {
// contains filtered or unexported fields
}
func NewLocalBackend ¶
func NewLocalBackend() LocalBackend
func (*LocalBackend) Activate ¶
func (l *LocalBackend) Activate()
func (*LocalBackend) Clone ¶
func (l *LocalBackend) Clone() BackendInterface
func (LocalBackend) GetPoolSize ¶
func (l LocalBackend) GetPoolSize() int
func (*LocalBackend) GetResult ¶
func (l *LocalBackend) GetResult(key string) (message.Result, error)
func (*LocalBackend) SetPoolSize ¶
func (l *LocalBackend) SetPoolSize(i int)
Click to show internal directories.
Click to hide internal directories.