Documentation ¶
Overview ¶
Package pkg of mkpipsrv utility provides data schema for generator input and generation logic itself.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
Endpoint defines input arguments for request and result of response. All arguments are required.
type Schema ¶
Schema is a root data structure for generator input. It holds name of package to generate and set of endpoints for data handlers. Currently, only single endpoint with "*" key accepted. The endpoint is responsible for processing of any request.
func NewSchemaFromFile ¶
NewSchemaFromFile reads schema from given YAML file.
Click to show internal directories.
Click to hide internal directories.