ctx

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdChannelRequest

type CmdChannelRequest struct {
	CmdChannelCmdName string
	CmdChannelCmdHash string
	IntegrationName   string
	IntegrationArgs   []string
	Metadata          map[string]interface{}
}

CmdChannelRequest DTO storing context required to handle actions on integration run exit.

func NewCmdChannelRequest

func NewCmdChannelRequest(cmdChanCmdName, cmdChanCmdHash, integrationName string, integrationArgs []string, metadata map[string]interface{}) CmdChannelRequest

NewCmdChannelRequest create new CmdChannelRequest.

func (*CmdChannelRequest) Event

func (r *CmdChannelRequest) Event(summary string) protocol.EventData

func (*CmdChannelRequest) Hash

func (r *CmdChannelRequest) Hash() string

func (*CmdChannelRequest) Name

func (r *CmdChannelRequest) Name() string

type Request

type Request interface {
	Name() string
	Hash() string
}

Jump to

Keyboard shortcuts

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