transport

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TEMPLATE string

Functions

This section is empty.

Types

type Input

type Input struct {
	Name    string
	Fields  []parser.Field
	Actions []string
}

parsedData data

type Transport

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

Transport generator

func (*Transport) Generate

func (t *Transport) Generate(input *parser.Parser, conf *config.Config) error

Generate generates the 'transport.go' file

func (*Transport) GetContent added in v1.0.11

func (t *Transport) GetContent() string

GetContent content getter

func (*Transport) Save added in v1.0.11

func (t *Transport) Save() error

Save saves the generated content to file

Jump to

Keyboard shortcuts

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