plugin

package
v0.18.18 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TagString = "gen"

Functions

func New

func New() *vine

func TrimString added in v0.8.3

func TrimString(s string, c string) string

Types

type Component added in v0.8.3

type Component struct {
	Name    string
	Kind    ComponentKind
	Service string
	Proto   *generator.MessageDescriptor
}

Component is description of generator.MessageDescriptor and converted OpenAPI3.0 data models (https://swagger.io/docs/specification/data-models/)

type ComponentKind added in v0.8.3

type ComponentKind int32
const (
	Auth ComponentKind = iota
	Request
	Response
	Error
)

type LinkComponents added in v0.9.4

type LinkComponents struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewLinkComponents added in v0.9.4

func NewLinkComponents() *LinkComponents

func (*LinkComponents) Push added in v0.9.4

func (l *LinkComponents) Push(c *Component)

func (*LinkComponents) Range added in v0.9.4

func (l *LinkComponents) Range(fn func(*Component))

type Tag added in v0.8.1

type Tag struct {
	Key   string
	Value string
}

Jump to

Keyboard shortcuts

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