channel_stop

package
v0.1.49 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ComponentName = "calendar_channel_stop"
	RequestPort   = "request"
	ResponsePort  = "response"
	ErrorPort     = "error"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	ID         string `json:"id" required:"true" title:"ID" description:"A UUID or similar unique string that identifies this channel."`
	ResourceId string `` /* 158-byte string literal not displayed */
	Token      string `` /* 149-byte string literal not displayed */
}

type Component

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

func (*Component) GetInfo

func (h *Component) GetInfo() module.ComponentInfo

func (*Component) Handle

func (h *Component) Handle(ctx context.Context, handler module.Handler, port string, msg interface{}) any

func (*Component) Instance

func (h *Component) Instance() module.Component

func (*Component) Ports

func (h *Component) Ports() []module.Port

type Context

type Context any

type Error

type Error struct {
	Context Context `json:"context"`
	Error   string  `json:"error"`
}

type Request

type Request struct {
	Context Context          `json:"context,omitempty" configurable:"true" title:"Context" description:"Arbitrary message to be send further"`
	Token   etc.Token        `json:"token" required:"true" title:"Access token"`
	Channel Channel          `json:"channel" required:"true" title:"Channel to stop"`
	Config  etc.ClientConfig `json:"config" required:"true" title:"Client credentials"`
}

type Response

type Response struct {
	Context Context `json:"context"`
}

type Settings

type Settings struct {
	EnableErrorPort bool `` /* 137-byte string literal not displayed */
}

Jump to

Keyboard shortcuts

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