Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfig ¶
func GetConfig() *config.DDNSConfig
func GetDiscoveryHandler ¶
func GetDiscoveryHandler() models.DiscoveryTask
func StartServer ¶
Types ¶
type DDNSWorker ¶
type DDNSWorker struct {
// contains filtered or unexported fields
}
func NewDDNSWorker ¶
func NewDDNSWorker() *DDNSWorker
func (*DDNSWorker) GetCurrentIPs ¶
func (dw *DDNSWorker) GetCurrentIPs(ctx context.Context) error
type Server ¶
type Server struct { pb.UnimplementedDDNSServiceServer // contains filtered or unexported fields }
func (*Server) GetCurrentIP ¶
func (s *Server) GetCurrentIP(ctx context.Context, req *pb.GetCurrentIPRequest) (*pb.GetCurrentIPResponse, error)
Handler for GetCurrentIP endpoint
Click to show internal directories.
Click to hide internal directories.