langs

package
v0.0.0-...-124a906 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ThriftTypeI16    = "i16"
	ThriftTypeI32    = "i32"
	ThriftTypeI64    = "i64"
	ThriftTypeString = "string"
	ThriftTypeByte   = "byte"
	ThriftTypeBinary = "binary"
	ThriftTypeBool   = "bool"
	ThriftTypeDouble = "double"
	ThriftTypeList   = "list"
	ThriftTypeSet    = "set"
	ThriftTypeMap    = "map"
)

Variables

View Source
var Langs = make(map[string]ApiGen)

Functions

This section is empty.

Types

type ApiGen

type ApiGen interface {
	Generate(output string, parsedThrift map[string]*parser.Thrift)
}

type BaseGen

type BaseGen struct {
	Lang    string
	Thrifts map[string]*parser.Thrift
}

func (*BaseGen) CheckNamespace

func (g *BaseGen) CheckNamespace()

func (*BaseGen) Init

func (g *BaseGen) Init(lang string, parsedThrift map[string]*parser.Thrift)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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