generator

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

SupportedFeatures describes a flag setting for supported features.

Variables

This section is empty.

Functions

func New added in v0.1.4

func New(suffix, tmplSrc string) *generator

Types

type Method

type Method struct {
	Name            string
	Comment         string
	Request         string
	Response        string
	ClientStreaming bool
	ServerStreaming bool
}

type ProtoFile

type ProtoFile struct {
	Name     string
	Package  string
	Services []Service
}

type Service

type Service struct {
	Name    string
	Comment string
	Methods []Method
}

Jump to

Keyboard shortcuts

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