writer

package
v0.0.0-...-c1a9e9f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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

func WriteImplementation(implDir, baseDir string) (int, error)

func WriteToFiles

func WriteToFiles(files map[string]*bytes.Buffer, baseDir string) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL