domain

package
v2.0.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonConfigLinks map[string][]string

type CompileConfigsRequest

type CompileConfigsRequest struct {
	Data                map[string]interface{}
	CommonConfigsIdList []string
}

type CompiledConfigResponse

type CompiledConfigResponse map[string]interface{}

type ConfigIdRequest

type ConfigIdRequest struct {
	Id string `json:"id" valid:"required~Required"`
}

type ConfigModuleInfo

type ConfigModuleInfo struct {
	entity.Config
	Valid bool
}

type Connection

type Connection struct {
	LibVersion    string
	Version       string
	Address       structure.AddressConfiguration
	Endpoints     []structure.EndpointConfig `json:",omitempty"`
	EstablishedAt time.Time
}

type CreateUpdateConfigRequest

type CreateUpdateConfigRequest struct {
	entity.Config
	Unsafe bool
}

type CreateUpdateConfigResponse

type CreateUpdateConfigResponse struct {
	ErrorDetails map[string]string
	Config       *ConfigModuleInfo
}

type DeleteCommonConfigResponse

type DeleteCommonConfigResponse struct {
	Deleted bool
	Links   CommonConfigLinks
}

type DeleteResponse

type DeleteResponse struct {
	Deleted int
}

type GetByModuleIdRequest

type GetByModuleIdRequest struct {
	ModuleId string `valid:"required~Required"`
}

type GetByModuleNameRequest

type GetByModuleNameRequest struct {
	ModuleName string `valid:"required~Required"`
}

type ModuleInfo

type ModuleInfo struct {
	Id                 string
	Name               string
	Active             bool
	CreatedAt          time.Time
	LastConnectedAt    time.Time
	LastDisconnectedAt time.Time
	Configs            []ConfigModuleInfo `json:",omitempty"`
	ConfigSchema       *schema.Schema     `json:",omitempty"`
	Status             []Connection       `json:",omitempty"`
}

Jump to

Keyboard shortcuts

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