commands

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseCommandHandler

type BaseCommandHandler struct {
	DBS func() *db.ReaderWriter
}

func NewBaseCommandHandler

func NewBaseCommandHandler(dbs func() *db.ReaderWriter) BaseCommandHandler

func (BaseCommandHandler) Execute

type BaseCommandRequest

type BaseCommandRequest struct {
	Input string
}

type BaseCommandResponse

type BaseCommandResponse struct {
	Result bool
}

type CreateDBCCodeCommandHandler

type CreateDBCCodeCommandHandler struct {
	DBS func() *db.ReaderWriter
}

func NewCreateDBCCodeCommandHandler

func NewCreateDBCCodeCommandHandler(dbs func() *db.ReaderWriter) CreateDBCCodeCommandHandler

func (CreateDBCCodeCommandHandler) Execute

type CreateDBCCodeCommandRequest

type CreateDBCCodeCommandRequest struct {
	Name        string
	DBCContents string
}

type CreateDBCCodeCommandResponse

type CreateDBCCodeCommandResponse struct {
	ID string
}

type CreateTestSignalCommandHandler

type CreateTestSignalCommandHandler struct {
	DBS func() *db.ReaderWriter
}

func NewCreateTestSignalCommandHandler

func NewCreateTestSignalCommandHandler(dbs func() *db.ReaderWriter) CreateTestSignalCommandHandler

func (CreateTestSignalCommandHandler) Execute

type CreateTestSignalCommandRequest

type CreateTestSignalCommandRequest struct {
	DeviceDefinitionID string
	DBCCodesID         string
	UserDeviceID       string
	Trigger            string
	Name               string
	Value              string
}

type CreateTestSignalCommandResponse

type CreateTestSignalCommandResponse struct {
	ID string
}

type RunTestSignalCommandHandler

type RunTestSignalCommandHandler struct {
	DBS func() *db.ReaderWriter
}

func NewRunTestSignalCommandHandler

func NewRunTestSignalCommandHandler(dbs func() *db.ReaderWriter) RunTestSignalCommandHandler

func (RunTestSignalCommandHandler) Execute

type RunTestSignalCommandRequest

type RunTestSignalCommandRequest struct {
}

type RunTestSignalCommandResponse

type RunTestSignalCommandResponse struct {
}

type UpdateDBCCodeCommandHandler

type UpdateDBCCodeCommandHandler struct {
	DBS func() *db.ReaderWriter
}

func NewUpdateDBCCodeCommandHandler

func NewUpdateDBCCodeCommandHandler(dbs func() *db.ReaderWriter) UpdateDBCCodeCommandHandler

func (UpdateDBCCodeCommandHandler) Execute

type UpdateDBCCodeCommandRequest

type UpdateDBCCodeCommandRequest struct {
	ID          string
	Name        string
	DBCContents string
}

type UpdateDBCCodeCommandResponse

type UpdateDBCCodeCommandResponse struct {
	ID string
}

type UpdateTestSignalCommandHandler

type UpdateTestSignalCommandHandler struct {
	DBS func() *db.ReaderWriter
}

func NewUpdateTestSignalCommandHandler

func NewUpdateTestSignalCommandHandler(dbs func() *db.ReaderWriter) UpdateTestSignalCommandHandler

func (UpdateTestSignalCommandHandler) Execute

type UpdateTestSignalCommandRequest

type UpdateTestSignalCommandRequest struct {
	ID                 string
	DeviceDefinitionID string
	DBCCodesID         string
	UserDeviceID       string
	Trigger            string
	Name               string
	Value              string
}

type UpdateTestSignalCommandResponse

type UpdateTestSignalCommandResponse struct {
	ID string
}

Jump to

Keyboard shortcuts

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