Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBConnectionView ¶
type DBConnectionView struct { ID string `json:"id"` Name string `json:"name"` Type string `json:"type"` ProjectID string `json:"projectId"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` }
func BuildDBConnection ¶
func BuildDBConnection(dbConn *models.DBConnection) DBConnectionView
type DBQueryLogView ¶
type DBQueryLogView struct { ID string `json:"id"` Query string `json:"query"` DBConnectionID string `json:"dbConnectionId"` CreatedAt time.Time `json:"createdAt"` }
func BuildDBQueryLogView ¶
func BuildDBQueryLogView(log *models.DBQueryLog) *DBQueryLogView
type DBQueryView ¶
type DBQueryView struct { ID string `json:"id"` Name string `json:"name"` Query string `json:"query"` DBConnectionID string `json:"dbConnectionId"` }
func BuildDBQueryView ¶
func BuildDBQueryView(query *models.DBQuery) *DBQueryView
type ProjectView ¶
type ProjectView struct { ID string `json:"id"` Name string `json:"name"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` }
func BuildProject ¶
func BuildProject(pProject *models.Project) ProjectView
Click to show internal directories.
Click to hide internal directories.