Documentation
¶
Index ¶
Constants ¶
View Source
const (
SocketPath = "/var/run/rhyzome/localrpc.sock"
)
Variables ¶
This section is empty.
Functions ¶
func ListenAndServe ¶
func ListenAndServe() error
ListenAndServe creates a listener on the unix socket and starts the server in a goroutine
Types ¶
type DHCPAction ¶
type DHCPAction string
const ( DHCPActionAdd DHCPAction = "add" DHCPActionUpdate DHCPAction = "update" )
type DHCPScriptCallback ¶
type DHCPScriptCallback struct { Action DHCPAction MACAddr string IPAddr string Hostname string }
type DHCPScriptServer ¶
type DHCPScriptServer int
func (*DHCPScriptServer) Call ¶
func (d *DHCPScriptServer) Call(args *DHCPScriptCallback, reply *int) error
Click to show internal directories.
Click to hide internal directories.