Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileInfo ¶ added in v0.1.7
type FileInfo struct { Pkg string // should be Pkg alias name. GoPackageName string GoImportPath string }
FileInfo contains info from proto files needed to import generated proto to create a server
type Generator ¶
type Generator struct { Tests bool // will generate tests for all RPC methods generated default is true. ConnectGo bool // if true will generate connectGo compatable code default is false. Server bool // if true will generate a server for the services and methods generated default is false. GoModPath string // the path of your generated code, Required for server to correctly import newly generated code. Firebase bool // if you want a firebase db + auth generated for you // TODO move these to be passed into funcs rather than kept in generator ServerTemplate string RegisterServerTemplate string }
Generator holds config for determining what code is generated
Click to show internal directories.
Click to hide internal directories.