Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KPLClient ¶
type KPLClient struct {
Host string
Port string
// ErrPort is the optional field, which is provided, will cause a server to start and
// on this port and retrieve any error.
// Provide ErrHandler if ErrPort is set.
ErrPort string
ErrHost string
ErrHandler func(data string)
Started bool
Socket net.Conn
SocketChannel chan string
}
KPLClient represents a client to the KPL Server
func NewKPLClient ¶
NewKPLClient returns a new KPLClient
Click to show internal directories.
Click to hide internal directories.