cloud

package
v0.0.0-...-f86756d Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RecordsResponse

type RecordsResponse struct {
	Records []*RequestRecord `json:"records"`
}

RecordsResponse is used to read a /records response from the fakeserver.

type RequestRecord

type RequestRecord struct {
	Method       string `json:"method"`
	Path         string `json:"path"`
	Body         []byte `json:"body"`
	ValidRequest bool   `json:"validRequest"`
	Timestamp    int64  `json:"timestamp"`
}

RequestRecord holds info about a single request.

type TokenResponse

type TokenResponse struct {
	Token string `json:"token"`
}

TokenResponse is used to read a token response from the fakeserver.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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