mapper

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FunctionMapper

type FunctionMapper interface {
	ToModel(ctx context.Context, v *types.FunctionConfiguration) *model.Function
	FromModel(ctx context.Context, v *model.Function) *types.FunctionConfiguration
}

func NewFunctionMapper

func NewFunctionMapper() FunctionMapper

type ResolverMapper

type ResolverMapper interface {
	ToModel(ctx context.Context, v *types.Resolver) *model.Resolver
	FromModel(ctx context.Context, v *model.Resolver) *types.Resolver
}

func NewResolverMapper

func NewResolverMapper() ResolverMapper

Jump to

Keyboard shortcuts

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