doctransformer

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option added in v1.0.0

type Option func(opts *Transformer)

Option is a registry instance option.

func WithIncludePublishedOperations added in v1.0.0

func WithIncludePublishedOperations(enabled bool) Option

WithIncludePublishedOperations sets optional include published operations flag.

func WithIncludeUnpublishedOperations added in v1.0.0

func WithIncludeUnpublishedOperations(enabled bool) Option

WithIncludeUnpublishedOperations sets optional include unpublished operations flag.

type Transformer

type Transformer struct {
	// contains filtered or unexported fields
}

Transformer is responsible for transforming internal to external document.

func New

func New(opts ...Option) *Transformer

New creates a new document transformer.

func (*Transformer) TransformDocument

TransformDocument takes internal resolution model and transformation info and creates external representation of document (resolution result).

Jump to

Keyboard shortcuts

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