kea-manage/lib/database/database.go
Matthew Stobbs a78f001a41 working configuration for reservations
- Make ipv4 reservations in kea by directly writing to the database
- uses same configuration file as database configuration under the
heading reservationV4
2024-09-24 14:43:54 -06:00

18 lines
271 B
Go

package database
import (
"git.staur.ca/stobbsm/kea-manage/ipv4/reservation"
)
type StoreV4 interface {
InsertResV4(*reservation.ReservationV4) error
}
type ExistsError struct{}
func (m *ExistsError) Error() string {
return "exists"
}
var Exists = &ExistsError{}