Documentation
¶
Index ¶
- func Comment(desc ...interface{}) (string, error)
- func FullName(desc ...interface{}) (string, error)
- func MethodComment(file *descriptor.FileDescriptorProto, svc *descriptor.ServiceDescriptorProto, ...) string
- func MethodFullName(file *descriptor.FileDescriptorProto, svc *descriptor.ServiceDescriptorProto, ...) string
- func ServiceComment(file *descriptor.FileDescriptorProto, svc *descriptor.ServiceDescriptorProto) string
- func ServiceFullName(file *descriptor.FileDescriptorProto, svc *descriptor.ServiceDescriptorProto) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Comment ¶
Comment is a template wrapper for protocol buffer descriptor comments.
func FullName ¶
FullName is a template wrapper for protocol buffer descriptor names.
func MethodComment ¶
func MethodComment(file *descriptor.FileDescriptorProto, svc *descriptor.ServiceDescriptorProto, method *descriptor.MethodDescriptorProto) string
MethodComment extracts comments for a service method.
func MethodFullName ¶
func MethodFullName(file *descriptor.FileDescriptorProto, svc *descriptor.ServiceDescriptorProto, method *descriptor.MethodDescriptorProto) string
MethodFullName creates a fully qualified name for the service.
func ServiceComment ¶
func ServiceComment(file *descriptor.FileDescriptorProto, svc *descriptor.ServiceDescriptorProto) string
ServiceComment extracts comments for a service.
func ServiceFullName ¶
func ServiceFullName(file *descriptor.FileDescriptorProto, svc *descriptor.ServiceDescriptorProto) string
ServiceFullName creates a fully qualified name for the service.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.