Documentation ¶
Overview ¶
Package gengorums is internal to the gorums protobuf module.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateBundleFile ¶
func GenerateBundleFile(dst string)
GenerateBundleFile generates a file with static definitions for Gorums.
func GenerateDevFiles ¶
GenerateDevFiles generates a zorums_{{gorumsType}}_gorums.pb.go file for each Gorums datatype and for each call type in the service definition.
func GenerateFile ¶
GenerateFile generates a _gorums.pb.go file containing Gorums service definitions.
func SetTrace ¶
func SetTrace(trace bool)
SetTrace is used to indicate whether or not to generate trace code.
func VersionString ¶
func VersionString() string
VersionString formats the version string for this module in semver format.
Examples:
v1.20.1 v1.21.0-rc.1
Types ¶
This section is empty.
Source Files ¶
- gorums.go
- gorums_bundle.go
- gorums_dev.go
- gorums_func_map.go
- template_correctable.go
- template_datatypes.go
- template_future.go
- template_multicast.go
- template_node.go
- template_ordered_future.go
- template_ordered_qc.go
- template_ordered_rpc.go
- template_qspec.go
- template_quorumcall.go
- template_server.go
- template_static.go
- template_trace.go
- template_unicast.go
- version.go
Click to show internal directories.
Click to hide internal directories.