genwrapper

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(doc *spec.Document, cfg Config, mode Mode) error

Generate generates target artifacts.

Types

type AuthMode

type AuthMode string
const (
	AuthModeNone         AuthMode = "none"
	AuthModeServiceToken AuthMode = "service_token"
	AuthModePerCallToken AuthMode = "per_call_token"
)

type Config

type Config struct {
	OutputPath   string
	PackageName  string
	ClientDir    string
	ClientImport string
	AuthMode     AuthMode
}

type Mode

type Mode string
const (
	ModeSkip  Mode = "skip"
	ModeInit  Mode = "init"
	ModeForce Mode = "force"
)

Jump to

Keyboard shortcuts

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