customwidgetservice

package
v1.11.4 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KIND_GET uint8 = iota
	KIND_HEAD
	KIND_POST
	KIND_PUT
	KIND_PATCH
	KIND_DELETE
	KIND_CONNECT
	KIND_OPTIONS
	KIND_TRACE
	KIND_RAW // added special category
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomWidgetService

type CustomWidgetService interface {
	GetDesc(ctx context.Context, widgetName string) ([]RawWidgetAction, error)
	Process(ctx context.Context, widgetName string, actionName string, files map[string][]byte) (string, string, []byte, error)
}

type RawWidgetAction

type RawWidgetAction struct {
	weaver.AutoMarshal
	Kind       uint8
	Name       string
	Path       string
	QueryNames []string
}

func (*RawWidgetAction) WeaverMarshal

func (x *RawWidgetAction) WeaverMarshal(enc *codegen.Encoder)

func (*RawWidgetAction) WeaverUnmarshal

func (x *RawWidgetAction) WeaverUnmarshal(dec *codegen.Decoder)

Jump to

Keyboard shortcuts

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