Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DocTmpl = `` /* 753-byte string literal not displayed */
View Source
var Files = &protoregistry.Files{}
Functions ¶
func ArrangeIntoPackages ¶
func BuildFileDescRegistry ¶
func BuildFileDescRegistry(files *protoregistry.Files, protoRoot, pkgPrefix string, l *logger.Logger)
Types ¶
type Formatter ¶
type Formatter struct {
// contains filtered or unexported fields
}
func (Formatter) WithPrefix ¶
func (Formatter) WithRelPath ¶ added in v1.0.1
type Token ¶
type Token struct { Prefix string Suffix template.HTML Comment string Kind string Text string URL string Default string MessageHeader bool NoExtraLine bool // Filed by token processor TextHTML template.HTML Sep string ExtraLine string // contains filtered or unexported fields }
func DumpMessage ¶
func DumpMessage(md protoreflect.MessageDescriptor, f Formatter) ([]*Token, []protoreflect.FullName)
func ProcessTokensForHTML ¶
Click to show internal directories.
Click to hide internal directories.