gengorums

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: MIT Imports: 25 Imported by: 0

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

func GenerateDevFiles(gen *protogen.Plugin, file *protogen.File)

GenerateDevFiles generates a zorums_{{gorumsType}}_gorums.pb.go file for each Gorums datatype and for each call type in the service definition.

func GenerateFile

func GenerateFile(gen *protogen.Plugin, file *protogen.File)

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.

Jump to

Keyboard shortcuts

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