Documentation ¶
Overview ¶
Package api provides a union of the filetree, xrefs, and graph interfaces and a command-line flag parser.
Index ¶
Constants ¶
View Source
const ( // CommonDefault is the common Kythe default API specification for Flag CommonDefault = "https://xrefs-dot-kythe-repo.appspot.com" // CommonFlagUsage is the common Kythe usage description used for Flag CommonFlagUsage = "" /* 139-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { xrefs.Service graph.Service filetree.Service identifiers.Service // Close releases the underlying resources for the API. Close(context.Context) error }
Interface is a union of the xrefs and filetree interfaces.
func Flag ¶
Flag defines an api Interface flag with specified name, default value, and usage description. The return value is the address of an Interface variable that stores the value of the flag.
Click to show internal directories.
Click to hide internal directories.