Documentation ¶
Index ¶
- type ControlServer
- func (cs *ControlServer) DeleteAuthoritative(ctx context.Context, rr *pb.RecordSet) (*empty.Empty, error)
- func (cs *ControlServer) GracefulStop() error
- func (cs *ControlServer) SetAuthoritativeHost(ctx context.Context, rr *pb.HostRecordSet) (*empty.Empty, error)
- func (cs *ControlServer) Start(stg edgedns.Storage) error
- type ControlServerPKI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlServer ¶
type ControlServer struct { Sock string Address string PKI *ControlServerPKI // contains filtered or unexported fields }
ControlServer implements the ControlServer API
func (*ControlServer) DeleteAuthoritative ¶
func (cs *ControlServer) DeleteAuthoritative(ctx context.Context, rr *pb.RecordSet) (*empty.Empty, error)
DeleteAuthoritative deletes the Resource Record for a given Query type and domain
func (*ControlServer) GracefulStop ¶
func (cs *ControlServer) GracefulStop() error
GracefulStop shuts down connetions and removes the Unix domain socket
func (*ControlServer) SetAuthoritativeHost ¶
func (cs *ControlServer) SetAuthoritativeHost(ctx context.Context, rr *pb.HostRecordSet) (*empty.Empty, error)
SetAuthoritativeHost sets a Authoritative or Forwarder address for a given domain
type ControlServerPKI ¶
ControlServerPKI defines PKI paths to enable encrypted GRPC server
Click to show internal directories.
Click to hide internal directories.