generator

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(outputDir string, inputDir string) error

Types

type Interface

type Interface struct {
	Name           string
	PackageName    string
	ModulePath     string
	ClientType     string
	IncludeBytes   bool
	HasQueryParams bool
	Methods        []Method
}

type Method

type Method struct {
	Name        string
	Params      string
	Returns     string
	Method      string
	Path        string
	PathParams  string
	Body        string
	ReturnType  string
	Auth        string
	QueryParams []QueryParam
}

type QueryParam

type QueryParam struct {
	Key   string
	Value string
}

Jump to

Keyboard shortcuts

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