model

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blunder

type Blunder struct {
	Details []Detail `yaml:"details"`
}

type Detail

type Detail struct {
	Package string             `yaml:"package"`
	Errors  []ErrorDescription `yaml:"errors"`
}

type ErrorDescription

type ErrorDescription struct {
	Code           string `yaml:"code"`
	HttpStatusCode int    `yaml:"http_status_code"`
	GrpcStatusCode int    `yaml:"grpc_status_code"`
	Message        string `yaml:"message"`
}

type Index

type Index struct {
	DetailIndex int
	ErrorIndex  int
}

Index is a struct that holds the index of the detail and error

Jump to

Keyboard shortcuts

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