apispot

package
v0.0.0-...-6f3fb99 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parser

func Parser(specific embed.FS)

Types

type Enum

type Enum struct {
}

type Errors

type Errors struct {
}

type Field

type Field struct {
	PackageName  string   `json:"packageName,omitempty"`
	DocLines     []string `json:"docLines,omitempty"`
	Name         string   `json:"name,omitempty"`
	TypeName     string   `json:"typeName,omitempty"`
	Tag          string   `json:"tag,omitempty"`
	CommentLines []string `json:"commentLines,omitempty"`
}

type Interface

type Interface struct {
	Filename     string   `json:"filename"`
	DocLines     []string `json:"docLines,omitempty"`
	Name         string   `json:"name"`
	Methods      []Method `json:"methods,omitempty"`
	CommentLines []string `json:"commentLines,omitempty"`
}

type Method

type Method struct {
	PackageName   string   `json:"packageName,omitempty"`
	Filename      string   `json:"filename,omitempty"`
	DocLines      []string `json:"docLines,omitempty"`
	RelatedStruct *Field   `json:"relatedStruct,omitempty"` // optional
	Name          string   `json:"name"`
	InputArgs     []Field  `json:"inputArgs,omitempty"`
	OutputArgs    []Field  `json:"outputArgs,omitempty"`
	CommentLines  []string `json:"commentLines,omitempty"`
}

type Specific

type Specific struct {
}

type Struct

type Struct struct {
	PackageName  string    `json:"packageName"`
	Filename     string    `json:"filename"`
	DocLines     []string  `json:"docLines,omitempty"`
	Name         string    `json:"name"`
	Fields       []Field   `json:"fields,omitempty"`
	Operations   []*Method `json:"operations,omitempty"`
	CommentLines []string  `json:"commentLines,omitempty"`
}

Jump to

Keyboard shortcuts

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