2024-09-20 21:21:41 +00:00
|
|
|
package database
|
2024-09-22 02:02:02 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"git.staur.ca/stobbsm/kea-manage/ipv4/reservation"
|
|
|
|
)
|
|
|
|
|
|
|
|
type StoreV4 interface {
|
|
|
|
InsertResV4(*reservation.ReservationV4) error
|
|
|
|
}
|
2024-09-24 20:43:54 +00:00
|
|
|
|
|
|
|
type ExistsError struct{}
|
|
|
|
|
|
|
|
func (m *ExistsError) Error() string {
|
|
|
|
return "exists"
|
|
|
|
}
|
|
|
|
|
|
|
|
var Exists = &ExistsError{}
|