runtime

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 1 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	FlowName  string
	RequestID string
	Header    map[string][]string
	RawQuery  string
	Query     map[string][]string
	Body      []byte
}

func (*Request) GetHeader

func (request *Request) GetHeader(header string) string

type Response

type Response struct {
	RequestID string
	Header    map[string][]string
	Body      []byte
}

func (*Response) SetHeader

func (response *Response) SetHeader(header string, value string)

type Runtime

type Runtime interface {
	Init() error
	CreateExecutor(*Request) (executor.Executor, error)
}

Directories

Path Synopsis
controller

Jump to

Keyboard shortcuts

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