js

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FunctionsTemplate = `` /* 502-byte string literal not displayed */

FunctionsTemplate provides the template for js clients of models

Functions

func GenerateJSValidator

func GenerateJSValidator(si *schema.Schema) (string, error)

GenerateJSValidator generates the validators for the the given schema

Types

type Generator

type Generator struct{}

Generator for js client

func (*Generator) Generate

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

Generate generates JS client for given schema

Jump to

Keyboard shortcuts

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