Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // UpdateSpec sends an updated spec to the DNS server. UpdateSpec(spec.SpecCensored) error }
type DirectClient ¶
type DirectClient struct {
// contains filtered or unexported fields
}
func NewDirectClient ¶
func NewDirectClient(s *Server) *DirectClient
func (*DirectClient) UpdateSpec ¶
func (d *DirectClient) UpdateSpec(spec spec.SpecCensored) error
UpdateSpec sends an updated spec to the DNS server.
type RPCClient ¶
type RPCClient struct {
// contains filtered or unexported fields
}
RPCClient is the client for RPCServer.
func NewRPCClient ¶
func (*RPCClient) UpdateSpec ¶
func (r *RPCClient) UpdateSpec(spec spec.SpecCensored) error
UpdateSpec sends an updated spec to the DNS server.
type RPCServer ¶
type RPCServer struct {
// contains filtered or unexported fields
}
func (*RPCServer) UpdateSpec ¶
func (r *RPCServer) UpdateSpec(spec spec.SpecCensored, alwaysNil *bool) error
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) ListenRPCListener ¶
Click to show internal directories.
Click to hide internal directories.