kit

package
v0.0.0-...-17fbf12 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InterfaceTemplate = `` /* 496-byte string literal not displayed */

InterfaceTemplate

View Source
var ServiceTemplate = `` /* 510-byte string literal not displayed */

Service Template

View Source
var TransportHTTPClientTemplate = `` /* 2252-byte string literal not displayed */

TransportHTTPClientTemplate

View Source
var TransportHTTPSemioticsTemplate = `` /* 2741-byte string literal not displayed */

TransportHTTPSemioticsTemplate

View Source
var TransportHTTPServerTemplate = `` /* 1584-byte string literal not displayed */

TransportHTTPServerTemplate

Functions

func GenerateInterface

func GenerateInterface(context *common.Context, s *schema.Schema) ([]common.Output, error)

GenerateInterface generates the interface functions for a kit worker.

func GenerateKitWorker

func GenerateKitWorker(context *common.Context, s *schema.Schema) ([]common.Output, error)

GenerateKitWorker generates the worker system for base kit

func GenerateService

func GenerateService(context *common.Context, s *schema.Schema) ([]common.Output, error)

GenerateService generates service for kit system.

func GenerateTransportHTTPClient

func GenerateTransportHTTPClient(context *common.Context, s *schema.Schema) ([]common.Output, error)

GenerateTransportHTTPClient generates HTTP transport's client

func GenerateTransportHTTPSemiotics

func GenerateTransportHTTPSemiotics(context *common.Context, s *schema.Schema) ([]common.Output, error)

GenerateTransportHTTPSemiotics generates HTTP transport's semiotics

func GenerateTransportHTTPServer

func GenerateTransportHTTPServer(context *common.Context, s *schema.Schema) ([]common.Output, error)

GenerateTransportHTTPServer generates HTTP transport's server

Types

type Generator

type Generator struct{}

Generator generates kit workers

func (*Generator) Generate

func (g *Generator) Generate(req *common.Req, res *common.Res) error

Generate generates and writes the errors of the schema

Jump to

Keyboard shortcuts

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