iots

package
v2.1.1840 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IoTs = "io-ts"

Functions

This section is empty.

Types

type Generator

type Generator struct{}

func (*Generator) RuntimeType

func (g *Generator) RuntimeType(typ *spec.TypeDef) string

func (*Generator) RuntimeTypeFromPackage

func (g *Generator) RuntimeTypeFromPackage(customTypesPackage string, typ *spec.TypeDef) string

func (*Generator) SetupLibrary

func (g *Generator) SetupLibrary(module modules.Module) *generator.CodeFile

func (*Generator) VersionModels

func (g *Generator) VersionModels(version *spec.Version, codecModule modules.Module, module modules.Module) *generator.CodeFile

func (*Generator) WriteParamsType

func (g *Generator) WriteParamsType(w *generator.Writer, typeName string, params []spec.NamedParam)

func (*Generator) WriteParamsType2 added in v2.1.1718

func (g *Generator) WriteParamsType2(w *generator.Writer, typeName string, params []spec.NamedParam)

Jump to

Keyboard shortcuts

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