generator

package
v3.0.8 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NameInterface

func NameInterface(iface *config.Interface) string

func UcNameWithAppPrefix

func UcNameWithAppPrefix(iface *config.Interface, useServicePrefix ...bool) string

Types

type RoutesGenerator

type RoutesGenerator struct {
	Interfaces    []*config.Interface
	MethodOptions map[string]config.MethodOptions
	// contains filtered or unexported fields
}

func (*RoutesGenerator) Filename

func (g *RoutesGenerator) Filename() string

func (*RoutesGenerator) Generate

func (g *RoutesGenerator) Generate(ctx context.Context) []byte

func (*RoutesGenerator) OutputDir

func (g *RoutesGenerator) OutputDir() string

Jump to

Keyboard shortcuts

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