types

package
v0.0.0-...-33bd477 Latest Latest
Warning

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

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

Documentation

Overview

Package types provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen/v2 version v2.1.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiResponse

type ApiResponse struct {
	Code *int                    `json:"code,omitempty"`
	Data *map[string]interface{} `json:"data,omitempty"`
	Msg  *string                 `json:"msg,omitempty"`
}

ApiResponse defines model for ApiResponse.

type Error

type Error struct {
	Msg string `json:"msg"`
}

Error defines model for Error.

type Items

type Items struct {
	Title *string `json:"title,omitempty"`
	Url   *string `json:"url,omitempty"`
}

Items defines model for Items.

type RecordRequest

type RecordRequest struct {
	Data string `json:"data"`
}

RecordRequest defines model for RecordRequest.

type ResultsResponse

type ResultsResponse struct {
	Items *Items `json:"items,omitempty"`
}

ResultsResponse defines model for ResultsResponse.

type SEError

type SEError struct {
	DbName string      `json:"dbName,omitempty"`
	Error  string      `json:"error,omitempty"`
	Key    string      `json:"key,omitempty"`
	Kind   SEErrorKind `json:"kind,omitempty"`
	Value  string      `json:"value,omitempty"`
}

SEError defines model for SEError.

type SEErrorKind

type SEErrorKind string

SEErrorKind defines model for SEError.Kind.

const (
	Db        SEErrorKind = "db"
	Messaging SEErrorKind = "messaging"
)

Defines values for SEErrorKind.

type SearchResponse

type SearchResponse = []string

SearchResponse defines model for SearchResponse.

type SelectionRequest

type SelectionRequest struct {
	Query       string `json:"query"`
	SelectedKey string `json:"selectedKey"`
}

SelectionRequest defines model for SelectionRequest.

Jump to

Keyboard shortcuts

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