server

package
v0.1.0-alpha4 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdServer = &cobra.Command{
	Use:   "server",
	Short: "Generate the proto Server implementations",
	Long:  "Generate the proto Server implementations. Example: kita-cli proto server api/xxx.proto -target-dir=internal/service",
	Run:   run,
}

CmdServer the service command.

Functions

This section is empty.

Types

type Method

type Method struct {
	Service string
	Name    string
	Request string
	Reply   string
}

Method is a proto method.

type Service

type Service struct {
	Package string
	Service string
	Methods []*Method
}

Service is a proto service.

Jump to

Keyboard shortcuts

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