handlergen

package
v0.0.0-...-4f71f7c Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerDto

type HandlerDto struct {
	Name         string
	GomodName    string
	Path         string
	ProtocolType protocolgen.ProtocolType
}

type HandlerGen

type HandlerGen interface {
	CreateHandler(dto HandlerDto) error
}

type HandlerGenImpl

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

func NewHandlerGen

func NewHandlerGen(
	fs database.FileSystem,
	protocolGen protocolgen.ProtocolGen,
) *HandlerGenImpl

func (HandlerGenImpl) CreateHandler

func (s HandlerGenImpl) CreateHandler(dto HandlerDto) error

Jump to

Keyboard shortcuts

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