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: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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