Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ChkVfoResponse = protocol.Response{ Command: protocol.CommandKey("chk_vfo"), Data: []string{"CHKVFO 0"}, Keys: []string{""}, Result: "0", }
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface {
Put(protocol.CommandKey, protocol.Response)
Get(protocol.CommandKey) (protocol.Response, bool)
Invalidate(protocol.CommandKey)
}
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
func New ¶
func New(rwc io.ReadWriteCloser, trx Transceiver, done <-chan struct{}, trace bool) *Proxy
func NewCached ¶
func NewCached(rwc io.ReadWriteCloser, trx Transceiver, cache Cache, done <-chan struct{}, trace bool) *Proxy
Click to show internal directories.
Click to hide internal directories.