Documentation
¶
Overview ¶
Package generator generates connnect service for python.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeneratedFile ¶
type GeneratedFile struct {
*protogen.GeneratedFile
// contains filtered or unexported fields
}
type Method ¶
type Method struct {
Method string
FullName string
RPCType RPCType
Options protoreflect.ProtoMessage
// contains filtered or unexported fields
}
type PythonIdent ¶
type PythonIdent struct {
PythonName string
PythonImportPath PythonImportPath
}
PythonIdent is a Python identifier, consisting of a name and import path.
The name is a single identifier and may not be a dot-qualified selector.
func (PythonIdent) String ¶
func (id PythonIdent) String() string
type PythonImportPath ¶
type PythonImportPath string
PythonImportPath is the import path of a Python package.
For example: "google.protobuf.descriptor".
func (PythonImportPath) Ident ¶
func (p PythonImportPath) Ident(s string) PythonIdent
Ident returns a PythonIdent with s as the PythonName and p as the PythonImportPath.
func (PythonImportPath) String ¶
func (p PythonImportPath) String() string
Click to show internal directories.
Click to hide internal directories.