Documentation
¶
Index ¶
- func UpperFirstCharacter(str string) string
- type Definition
- type Message
- type Package
- type Service
- func (s *Service) EmptyInput() bool
- func (s *Service) EmptyOutput() bool
- func (s *Service) HasArrayOutput() bool
- func (s *Service) HasCustomOutput() bool
- func (s *Service) HasCustomParams() bool
- func (s *Service) InputGrpc() []string
- func (s *Service) MethodInputType() string
- func (s *Service) MethodOutputType() string
- func (s *Service) OutputGrpc() []string
- func (s *Service) ParamsCallDatabase() string
- func (s *Service) ProtoInputs() string
- func (s *Service) ProtoOutputs() string
- func (s *Service) ReturnCallDatabase() string
- func (s *Service) RpcSignature() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpperFirstCharacter ¶
Types ¶
type Definition ¶
func (*Definition) Database ¶
func (d *Definition) Database() string
type Message ¶
func (*Message) ProtoAttributes ¶
type Package ¶ added in v0.1.0
type Package struct {
Engine string
Package string
GoModule string
SrcPath string
Services []*Service
Messages map[string]*Message
}
func ParsePackage ¶ added in v0.1.0
func (*Package) ProtoImports ¶ added in v0.1.0
type Service ¶
type Service struct {
Name string
InputNames []string
InputTypes []string
Output []string
Messages map[string]*Message
}
func (*Service) EmptyInput ¶
func (*Service) EmptyOutput ¶
func (*Service) HasArrayOutput ¶
func (*Service) HasCustomOutput ¶
func (*Service) HasCustomParams ¶
func (*Service) MethodInputType ¶
func (*Service) MethodOutputType ¶
func (*Service) OutputGrpc ¶
func (*Service) ParamsCallDatabase ¶
func (*Service) ProtoInputs ¶
func (*Service) ProtoOutputs ¶
func (*Service) ReturnCallDatabase ¶
func (*Service) RpcSignature ¶
Click to show internal directories.
Click to hide internal directories.