Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationDTO ¶
type ApplicationDTO struct { ID string Tenant string Name string Description string Labels types.NullJSONText // JSON }
func ApplicationFromModel ¶
func ApplicationFromModel(in model.Application) ApplicationDTO
func (*ApplicationDTO) ToModel ¶
func (app *ApplicationDTO) ToModel() model.Application
type DocumentDTO ¶
type DocumentDTO struct { ID string Appid string `json:"app_id"` Title string Format string Data string }
func DocumentFromModel ¶
func DocumentFromModel(appID string, in model.Document) *DocumentDTO
func (*DocumentDTO) ToModel ¶
func (d *DocumentDTO) ToModel() model.Document
Click to show internal directories.
Click to hide internal directories.