sdk

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InvokeThriftgoBySDK added in v0.11.0

func InvokeThriftgoBySDK(pwd string, cmd *exec.Cmd) (err error)

InvokeThriftgoBySDK is for kitex tool main.go

func ParseKitexCmd added in v0.11.0

func ParseKitexCmd(cmd *exec.Cmd) (thriftgoParams, kitexParams []string, err error)

func RunKitexTool

func RunKitexTool(wd string, plugins []plugin.SDKPlugin, kitexArgs ...string) error

Types

type KiteXSDKPlugin

type KiteXSDKPlugin struct {
	KitexParams    []string
	ThriftgoParams []string
	Pwd            string
}

func GetKiteXSDKPlugin

func GetKiteXSDKPlugin(pwd string, rawKiteXArgs []string) (*KiteXSDKPlugin, error)

func (*KiteXSDKPlugin) GetName

func (k *KiteXSDKPlugin) GetName() string

func (*KiteXSDKPlugin) GetPluginParameters

func (k *KiteXSDKPlugin) GetPluginParameters() []string

func (*KiteXSDKPlugin) GetThriftgoParameters

func (k *KiteXSDKPlugin) GetThriftgoParameters() []string

func (*KiteXSDKPlugin) Invoke

func (k *KiteXSDKPlugin) 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