Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrIdNotFound = errors.New("id not found")
)
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DeleteTarget ¶
func (*Client) ListTarget ¶
func (c *Client) ListTarget() ([]*TargetInfo, error)
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) AddTarget ¶
func (s *Store) AddTarget(pm *TargetInfo) error
func (*Store) CleanAndUpdate ¶
func (s *Store) CleanAndUpdate(pms []*TargetInfo) error
func (*Store) DeleteTarget ¶
func (*Store) GetAllTarget ¶
func (s *Store) GetAllTarget() ([]*TargetInfo, error)
type TargetInfo ¶
type Tcpmux ¶
type Tcpmux struct {
// contains filtered or unexported fields
}
func (*Tcpmux) DeleteTarget ¶
func (*Tcpmux) ListTarget ¶
func (m *Tcpmux) ListTarget() []TargetInfo
Click to show internal directories.
Click to hide internal directories.