scaffold

package
v0.0.143 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateExtensionScaffold

func CreateExtensionScaffold(ctx context.Context, fsfs fnfs.ReadWriteFS, loc fnfs.Location) error

func CreateGoServiceScaffold

func CreateGoServiceScaffold(ctx context.Context, fsfs fnfs.ReadWriteFS, loc fnfs.Location, opts GenGoServiceOpts) error

func CreateGoTestScaffold

func CreateGoTestScaffold(ctx context.Context, fsfs fnfs.ReadWriteFS, loc fnfs.Location, opts GenGoTestOpts) error

func CreateProtoScaffold

func CreateProtoScaffold(ctx context.Context, fsfs fnfs.ReadWriteFS, loc fnfs.Location, opts GenProtoServiceOpts) error

func CreateServerScaffold

func CreateServerScaffold(ctx context.Context, fsfs fnfs.ReadWriteFS, loc fnfs.Location, opts GenServerOpts) error

func CreateServiceScaffold

func CreateServiceScaffold(ctx context.Context, fsfs fnfs.ReadWriteFS, loc fnfs.Location, opts GenServiceOpts) error

func CreateTestScaffold

func CreateTestScaffold(ctx context.Context, fsfs fnfs.ReadWriteFS, loc fnfs.Location, opts GenTestOpts) error

func CreateWebServiceScaffold

func CreateWebServiceScaffold(ctx context.Context, fsfs fnfs.ReadWriteFS, loc fnfs.Location, opts GenWebServiceOpts) error

Types

type GenGoServiceOpts

type GenGoServiceOpts struct {
	Name string
}

type GenGoTestOpts

type GenGoTestOpts struct {
	ServicePkg string
}

type GenProtoServiceOpts

type GenProtoServiceOpts struct {
	Name      string
	Framework schema.Framework
}

type GenServerOpts

type GenServerOpts struct {
	Name         string
	Framework    schema.Framework
	GrpcServices []string
	Dependencies []string
	HttpServices []HttpService
}

type GenServiceOpts

type GenServiceOpts struct {
	ExportedServiceName string
	Framework           schema.Framework
	HttpBackendPkg      string
}

type GenTestOpts

type GenTestOpts struct {
	ServerPkg string
}

type GenWebServiceOpts

type GenWebServiceOpts struct {
}

type HttpService

type HttpService struct {
	Path string
	Pkg  string
}

Jump to

Keyboard shortcuts

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