Documentation ¶
Index ¶
- Constants
- func RenderPackages(source renderSource, protoRenderers map[string]common.ProtocolRenderer, ...) (fileContents map[string]*bytes.Buffer, err error)
- func WriteImplementation(implDir, baseDir string) (int, error)
- func WriteToFiles(files map[string]*bytes.Buffer, baseDir string) error
- type MultilineError
Constants ¶
View Source
const GeneratedCodePreamble = "Code generated by go-asyncapi tool. DO NOT EDIT."
Variables ¶
This section is empty.
Functions ¶
func RenderPackages ¶
func RenderPackages(source renderSource, protoRenderers map[string]common.ProtocolRenderer, opts common.RenderOpts) (fileContents map[string]*bytes.Buffer, err error)
func WriteImplementation ¶
Types ¶
type MultilineError ¶
type MultilineError struct {
// contains filtered or unexported fields
}
func (MultilineError) Error ¶
func (e MultilineError) Error() string
func (MultilineError) RestLines ¶
func (e MultilineError) RestLines() string
Click to show internal directories.
Click to hide internal directories.