Documentation ¶
Index ¶
- Variables
- func GenerateInterface(context *common.Context, s *schema.Schema) ([]common.Output, error)
- func GenerateKitWorker(context *common.Context, s *schema.Schema) ([]common.Output, error)
- func GenerateService(context *common.Context, s *schema.Schema) ([]common.Output, error)
- func GenerateTransportHTTPClient(context *common.Context, s *schema.Schema) ([]common.Output, error)
- func GenerateTransportHTTPSemiotics(context *common.Context, s *schema.Schema) ([]common.Output, error)
- func GenerateTransportHTTPServer(context *common.Context, s *schema.Schema) ([]common.Output, error)
- type Generator
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 ¶
GenerateInterface generates the interface functions for a kit worker.
func GenerateKitWorker ¶
GenerateKitWorker generates the worker system for base kit
func GenerateService ¶
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
Types ¶
Click to show internal directories.
Click to hide internal directories.