Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config is the configuration of protoc-gen-doc.
type Section ¶
type Section struct { // DisplayName is the name to display on the documentation tag like a // header. DisplayName string // Packages is the list of packages to include for the section. Packages []string // PreambleContent is the content to display before the struct and endpoint // definitions. PreambleContent string // Weight is an arbitrary number defining the order of the sections. Lower // numbers should be placed nearer to the front. Weight int }
Section is a part of the documentation as defined. Each section will output a separate tag.
Click to show internal directories.
Click to hide internal directories.