server

package
v0.0.0-...-154867a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	api.UnimplementedControllerServer
	// contains filtered or unexported fields
}

Controller is a Coffee DNS controlplane

func New

func New(grpcPort uint, logger *log.Logger) (Controller, error)

New returns a new Coffee DNS Controller

func (Controller) CreateRecord

CreateRecord creates a DNS record

func (Controller) DeleteRecord

DeleteRecord deletes a DNS record

func (Controller) GetRecord

GetRecord returns a DNS record

func (Controller) Start

func (c Controller) Start() error

Start starts the controlplane

func (Controller) Status

Status returns the status of the controller

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL