result

package
v0.0.0-...-7b9bfbb Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchedResults

type BatchedResults struct {
	Results []*Result
	Err     error
}

func NewBatchedResults

func NewBatchedResults() *BatchedResults

func (*BatchedResults) UnmarshalResponseData

func (br *BatchedResults) UnmarshalResponseData(logger logger.Logger, data []byte)

type Result

type Result struct {
	StatusCode   int                    `json:"status_code"`
	ContentType  string                 `json:"content_type"`
	Body         string                 `json:"body"`
	BodyEncoding string                 `json:"body_encoding"`
	Headers      map[string]interface{} `json:"headers"`
	EventId      string                 `json:"event_id"`

	DecodedBody []byte
	Err         error
}

type RpcLogRecord

type RpcLogRecord struct {
	DateTime string                 `json:"datetime"`
	Level    string                 `json:"level"`
	Message  string                 `json:"message"`
	With     map[string]interface{} `json:"with"`
}

Jump to

Keyboard shortcuts

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