clientts

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package clientts generates client-side TypeScript library

Package clientts generates client-side TypeScript library

Package clientts generates client-side TypeScript library

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator interface {
	GenerateClient() (string, error)
	GenerateTypes(fn func(relPath, code string) error) error
}

Generator generates a TypeScript client for api_gen

func NewGenerator

func NewGenerator(gr *parser.Group, version string) Generator

NewGenerator returns a new client-side TypeScript library generator

Jump to

Keyboard shortcuts

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