Documentation
¶
Overview ¶
package contains interfaces that allows to convert between API and DB object types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIDBConverter ¶
type APIDBConverter interface { // these functions convert a DB structure(s) to API object(s) and vice versa ModelToDBPort(port *models.Port) *automodel.Port ModelToDBPorts(ports []*models.Port) []*automodel.Port }
func NewAPIDBConverter ¶
func NewAPIDBConverter() APIDBConverter
Click to show internal directories.
Click to hide internal directories.