rest

package
v0.0.0-...-b45a7ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToFieldSpecsDto

func ToFieldSpecsDto(fields_ field.StructType) []string

Types

type EntityCompoundFieldDto

type EntityCompoundFieldDto struct {
	Name   string
	Fields []string
}

type EntityController

type EntityController struct {
	// contains filtered or unexported fields
}

func NewEntityController

func NewEntityController(appCore *appcore.ApplicationCore) *EntityController

func (*EntityController) RegisterRoutes

func (controller *EntityController) RegisterRoutes(r chi.Router)

type EntityDto

type EntityDto struct {
	Id          int64
	DisplayName string
	Attributes  map[string]interface{}
}

type EntityProjectionDto

type EntityProjectionDto struct {
	Id         int64
	Attributes values.Values
}

type EntityRevisionDto

type EntityRevisionDto struct {
	RevisionNumber int64
	Attributes     map[string]interface{}
}

type EntitySpecDto

type EntitySpecDto struct {
	Uname          string
	Name           string
	NamePlural     string
	Fields         []string
	CompoundFields []EntityCompoundFieldDto
}

func ToEntitySpecDto

func ToEntitySpecDto(entityType *entity.Definition) EntitySpecDto

type EntityTypeController

type EntityTypeController struct {
	// contains filtered or unexported fields
}

func NewEntityTypeController

func NewEntityTypeController(appCore *appcore.ApplicationCore) *EntityTypeController

func (*EntityTypeController) RegisterRoutes

func (controller *EntityTypeController) RegisterRoutes(r chi.Router)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL