models

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 0 Imported by: 1

Documentation

Overview

Package models ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	Body     string
	JSONBody string //! to use in the future
	TextBody string //! to use in the future
	URI      string
	Method   string
	Headers  string
}

Request embeds the data of the http request

type Response

type Response struct {
	JSONBody   map[string]interface{} `json:"JSONBody"`
	TextBody   string                 `json:"TextBody"`
	Headers    map[string]string      `json:"Headers"`
	StatusCode int                    `json:"StatusCode"`
}

Response embeds the data of the http response

Jump to

Keyboard shortcuts

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