plugin

package
v0.0.0-...-539f2fd Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderCompileClientTemplate

func RenderCompileClientTemplate(data *config.RGOClientTemplateData) (string, error)

func RenderEditClientTemplate

func RenderEditClientTemplate(data *config.RGOClientTemplateData) (string, error)

Types

type RGOPlugin

type RGOPlugin struct {
	Type              string
	ProjectModule     string
	ServiceName       string
	FormatServiceName string
	Pwd               string
}

func GetRGOPlugin

func GetRGOPlugin(pluginType, pwd, projectModule, serviceName, formatServiceName string) (*RGOPlugin, error)

func (*RGOPlugin) GetName

func (r *RGOPlugin) GetName() string

func (*RGOPlugin) GetPluginParameters

func (r *RGOPlugin) GetPluginParameters() []string

func (*RGOPlugin) Invoke

func (r *RGOPlugin) Invoke(req *plugin.Request) (res *plugin.Response)

type RGOThriftgoPlugin

type RGOThriftgoPlugin struct {
	Args              []string
	ProjectModule     string
	ServiceName       string
	FormatServiceName string
	Pwd               string
}

func GetRGOThriftgoPlugin

func GetRGOThriftgoPlugin(pwd, projectModule, serviceName, formatServiceName string, Args []string) (*RGOThriftgoPlugin, error)

func (*RGOThriftgoPlugin) GetName

func (r *RGOThriftgoPlugin) GetName() string

func (*RGOThriftgoPlugin) GetPluginParameters

func (r *RGOThriftgoPlugin) GetPluginParameters() []string

func (*RGOThriftgoPlugin) Invoke

func (r *RGOThriftgoPlugin) Invoke(req *plugin.Request) (res *plugin.Response)

Jump to

Keyboard shortcuts

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