action

package
v0.0.0-...-294dc8c Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ActionHelp contains the short help text for the command.
	ActionHelp = "Calls an arbitrary OpenSlides action"

	// ActionHelpExtra contains the long help text for the command without
	// the headline.
	ActionHelpExtra = `` /* 202-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func Action

func Action(ctx context.Context, in *proto.ActionRequest, ba backendAction) (*proto.ActionResponse, error)

Action calls the given backend action with the given payload. This function is the server side entrypoint for this package.

func Cmd

func Cmd() *cobra.Command

Cmd returns the subcommand.

func Run

func Run(ctx context.Context, gc gRPCClient, action string, payload []byte) error

Run calls respective procedure via given gRPC client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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