Discover Packages
github.com/uber/zanzibar/v2
test
lib
util
package
Version:
v2.0.10
Opens a new window with list of versions in this module.
Published: Feb 2, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types DefaultConfigFiles(serviceName) DefaultMainFile(serviceName) type Buffer (s) String() (s) Write(p)
Documentation
¶
DefaultConfigFiles returns the typically expected default config files that
a service would use. This includes root production.yaml and the service's
own production.yaml
DefaultMainFile returns the expected main.go file path for an example
service inside the example-gateway
Buffer is a goroutine safe bytes.Buffer
String returns the contents of the unread portion of the buffer
as a string. If the Buffer is a nil pointer, it returns "<nil>".
Write appends the contents of p to the buffer, growing the buffer as needed. It returns
the number of bytes written.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.