parser

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 12 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReader added in v0.4.0

func NewReader(doc string) (io.Reader, error)

Types

type EncoderOpts

type EncoderOpts func(*json.Encoder) error

type MessageProcessor

type MessageProcessor func(map[string]interface{}) error

func (MessageProcessor) BuildParser added in v0.4.0

func (mp MessageProcessor) BuildParser(encoderOpts ...EncoderOpts) Parser

type Parser added in v0.4.0

type Parser = func(io.Reader, io.Writer) error

Parser parses an AsyncAPI document.

func New added in v0.4.0

func New() (Parser, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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