builder

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GRPC = "grpc"
	CLI  = "cmd"
)
View Source
const (
	HTTP = "http"
)

Variables

This section is empty.

Functions

func NewHttpBuilder

func NewHttpBuilder(source string, filename string, destination string, pkg string) builder.ModuleBuilderInterface

Types

type HttpBuilder

type HttpBuilder struct {
	builder.ModuleBuilder
	Template delivery.HttpTemplate
}

func (*HttpBuilder) Create

func (r *HttpBuilder) Create() (_interface []byte, _implement []byte, _test []byte)

func (*HttpBuilder) General

func (r *HttpBuilder) General() (_interface []byte, _implement []byte, _test []byte)

func (*HttpBuilder) GetDestination

func (r *HttpBuilder) GetDestination() string

func (*HttpBuilder) GetInfo

func (r *HttpBuilder) GetInfo() base.ModuleInfoInterface

func (*HttpBuilder) GetSource

func (r *HttpBuilder) GetSource() parser.ParserInterface

func (*HttpBuilder) Save

func (r *HttpBuilder) Save(_interface []byte, _implement []byte, _test []byte)

func (*HttpBuilder) SetDestination

func (r *HttpBuilder) SetDestination(in string, name string)

func (*HttpBuilder) SetSource

func (r *HttpBuilder) SetSource(in string)

func (*HttpBuilder) SetupFolder

func (r *HttpBuilder) SetupFolder()

Jump to

Keyboard shortcuts

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