postactionresponsewriter

package
v0.0.0-...-161c778 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const FilePrefix = "httpe-postrun"

Variables

This section is empty.

Functions

This section is empty.

Types

type PostActionResponse

type PostActionResponse struct {
	ActionType string `json:"action_type"`
	actions.ActionResponse
	InternalError string `json:"internal_error"`
}

type PostActionResponseWriter

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

func New

func New(conf *config.Config, logger2 *logger.Logger) PostActionResponseWriter

func (*PostActionResponseWriter) AddActionResponse

func (p *PostActionResponseWriter) AddActionResponse(t string, actionResponse actions.ActionResponse, err error)

func (*PostActionResponseWriter) Write

func (p *PostActionResponseWriter) Write()

Jump to

Keyboard shortcuts

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