tygo

package module
v0.0.0-...-66d79e2 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2018 License: MIT Imports: 19 Imported by: 5

README

tygo

Serialization tool based on protobuf for golang.

Documentation

Index

Constants

View Source
const (
	TYPYD_ENUM       = 0
	TYPYD_INT32      = 1
	TYPYD_INT64      = 2
	TYPYD_UINT32     = 3
	TYPYD_UINT64     = 4
	TYPYD_FIXEDPOINT = 5
	TYPYD_DOUBLE     = 6
	TYPYD_FLOAT      = 7
	TYPYD_BOOL       = 8
	TYPYD_BYTES      = 9
	TYPYD_STRING     = 10
	TYPYD_SYMBOL     = 11
	TYPYD_OBJECT     = 12
	TYPYD_VARIANT    = 13
	TYPYD_LIST       = 14
	TYPYD_DICT       = 15
	TYPYD_PYTHON     = 16
	MAX_TYPYD_TYPE   = 17
)
View Source
const (
	WireTypeBits = 3
	WireTypeMask = (1 << WireTypeBits) - 1
)
View Source
const (
	STR_ZERO        = "0"
	STR_NIL         = "nil"
	STR_INT32       = "int32"
	STR_UINT32      = "uint32"
	STR_INT64       = "int64"
	STR_UINT64      = "uint64"
	STR_BYTES       = "bytes"
	STR_STRING      = "string"
	STR_SYMBOL      = "symbol"
	STR_BOOL        = "bool"
	STR_FLOAT32     = "float32"
	STR_FLOAT64     = "float64"
	STR_UNKNOWN     = "unknown"
	STR_PREFIELDNUM = "preFieldNum"
)
View Source
const ENUM = 57347
View Source
const FIXEDPOINT = 57350
View Source
const IDENT = 57353
View Source
const INTEGER = 57354
View Source
const IOTA = 57352
View Source
const MAP = 57349
View Source
const OBJECT = 57348
View Source
const SymbolDecodeMap = "-ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_"
View Source
const TEMP_PREFIX = "tmp"
View Source
const TYPE = 57346
View Source
const VARIANT = 57351

Variables

View Source
var (
	LOG_PKG  = map[string]string{"log": ""}
	MATH_PKG = map[string]string{"math": ""}
	SRC_PATH = path.Join(os.Getenv("GOPATH"), "src")
	PROP_PRE []Type
	DELEGATE string
)
View Source
var (
	JS_MODULE  = ""
	JS_WRITER  io.Writer
	JS_TYPES   map[string]Type
	JS_OBJECTS map[string]*Object
)
View Source
var (
	PY_WRITER  io.Writer
	PY_TYPES   map[string]bool
	PY_OBJECTS map[string]*Object
)
View Source
var (
	TS_MODULE     string
	TS_CUR_MODULE string
	TS_EX_TYPE    bool
	TS_OBJECTS    map[string]*Object
	EXTENS_PKG    map[string]string
)
View Source
var SymbolEncodeMap = [256]byte{}/* 256 elements not displayed */
View Source
var TYGO_PATH = reflect.TypeOf(Tygo{}).PkgPath()

Functions

func DecodeSymbol

func DecodeSymbol(src []byte) string

func Inject

func Inject(dir string, filename string, pkgname string, types []Type, propPre []Type, delegate string)

func Javascript

func Javascript(dir string, name string, module string, types []Type, propPre []Type)

func ObjectMap

func ObjectMap(types []Type, useFullName bool) (objects map[string]*Object)

func PkgTypeMap

func PkgTypeMap(types []Type) (pkgs map[string][]Type)

func Python

func Python(types []Type) []byte

func SizeBuffer

func SizeBuffer(b []byte) int

func SizeSymbol

func SizeSymbol(s string) int

func SizeVarint

func SizeVarint(x uint64) int

func SymbolEncodedLen

func SymbolEncodedLen(data string) int

func TAG_SIZE

func TAG_SIZE(fieldNum int) int

func TypeListDeserialize

func TypeListDeserialize(owner string, name string, typ string, ts []Type) (string, map[string]string)

func TypeListSerialize

func TypeListSerialize(owner string, name string, typ string, ts []Type) (string, map[string]string)

func Typescript

func Typescript(dir string, name string, module string, types []Type, propPre []Type)

func Typyd

func Typyd(types []Type) []byte

Types

type DictType

type DictType struct {
	K Type
	V Type
}

func (*DictType) ByteSizeGo

func (t *DictType) ByteSizeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*DictType) CachedSizeGo

func (t *DictType) CachedSizeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*DictType) DeserializeGo

func (t *DictType) DeserializeGo(tag string, input string, name string, preFieldNum string, fieldNum int, isVariant bool) (string, WireType, map[string]string)

func (*DictType) Go

func (t *DictType) Go() (string, map[string]string)

func (*DictType) Identifier

func (t *DictType) Identifier() string

func (*DictType) IsIterative

func (t *DictType) IsIterative() bool

func (*DictType) IsPrimitive

func (t *DictType) IsPrimitive() bool

func (*DictType) Javascript

func (t *DictType) Javascript() (string, map[string]string)

func (*DictType) Python

func (t *DictType) Python() string

func (*DictType) SerializeGo

func (t *DictType) SerializeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*DictType) String

func (t *DictType) String() string

func (*DictType) Typescript

func (t *DictType) Typescript() string

func (*DictType) Typyd

func (t *DictType) Typyd() string

func (*DictType) WireType

func (t *DictType) WireType() WireType

type Enum

type Enum struct {
	Name    string
	Package string
	Values  map[string]int
	// contains filtered or unexported fields
}

func (*Enum) ByteSizeGo

func (t *Enum) ByteSizeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*Enum) CachedSizeGo

func (t *Enum) CachedSizeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*Enum) DeserializeGo

func (t *Enum) DeserializeGo(tag string, input string, name string, preFieldNum string, fieldNum int, isVariant bool) (string, WireType, map[string]string)

func (*Enum) FullName

func (t *Enum) FullName() string

func (*Enum) Go

func (t *Enum) Go() (string, map[string]string)

func (*Enum) Identifier

func (t *Enum) Identifier() string

func (*Enum) IsIterative

func (t *Enum) IsIterative() bool

func (*Enum) IsPrimitive

func (t *Enum) IsPrimitive() bool

func (*Enum) Javascript

func (t *Enum) Javascript() (string, map[string]string)

func (*Enum) Len

func (t *Enum) Len() int

func (*Enum) Less

func (t *Enum) Less(i, j int) bool

func (*Enum) Python

func (t *Enum) Python() string

func (*Enum) SerializeGo

func (t *Enum) SerializeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*Enum) Sorted

func (t *Enum) Sorted() []string

func (*Enum) String

func (t *Enum) String() string

func (*Enum) Swap

func (t *Enum) Swap(i, j int)

func (*Enum) Typescript

func (t *Enum) Typescript() string

func (*Enum) Typyd

func (t *Enum) Typyd() string

func (*Enum) WireType

func (t *Enum) WireType() WireType

type EnumType

type EnumType struct {
	*Enum
	Name string
}

func (*EnumType) ByteSizeGo

func (t *EnumType) ByteSizeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*EnumType) CachedSizeGo

func (t *EnumType) CachedSizeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*EnumType) DeserializeGo

func (t *EnumType) DeserializeGo(tag string, input string, name string, preFieldNum string, fieldNum int, isVariant bool) (string, WireType, map[string]string)

func (*EnumType) Go

func (t *EnumType) Go() (string, map[string]string)

func (*EnumType) Identifier

func (t *EnumType) Identifier() string

func (*EnumType) IsIterative

func (t *EnumType) IsIterative() bool

func (*EnumType) IsPrimitive

func (t *EnumType) IsPrimitive() bool

func (*EnumType) Javascript

func (t *EnumType) Javascript() (string, map[string]string)

func (*EnumType) Python

func (t *EnumType) Python() string

func (*EnumType) SerializeGo

func (t *EnumType) SerializeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*EnumType) String

func (t *EnumType) String() string

func (*EnumType) Typescript

func (t *EnumType) Typescript() string

func (*EnumType) Typyd

func (t *EnumType) Typyd() string

func (*EnumType) WireType

func (t *EnumType) WireType() WireType

type Extracter

type Extracter func(string, string, string, []Type, []Type, string)

type Field

type Field struct {
	Type
	Name string
	Hide bool
}

type FixedPointType

type FixedPointType struct {
	Precision uint
	Floor     int
}

func (*FixedPointType) ByteSizeGo

func (t *FixedPointType) ByteSizeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*FixedPointType) CachedSizeGo

func (t *FixedPointType) CachedSizeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*FixedPointType) DeserializeGo

func (t *FixedPointType) DeserializeGo(tag string, input string, name string, preFieldNum string, fieldNum int, isVariant bool) (string, WireType, map[string]string)

func (*FixedPointType) FromVarint

func (t *FixedPointType) FromVarint(name string) string

func (*FixedPointType) Go

func (t *FixedPointType) Go() (string, map[string]string)

func (*FixedPointType) Identifier

func (t *FixedPointType) Identifier() string

func (*FixedPointType) IsIterative

func (t *FixedPointType) IsIterative() bool

func (*FixedPointType) IsPrimitive

func (t *FixedPointType) IsPrimitive() bool

func (*FixedPointType) Javascript

func (t *FixedPointType) Javascript() (string, map[string]string)

func (*FixedPointType) Python

func (t *FixedPointType) Python() string

func (*FixedPointType) SerializeGo

func (t *FixedPointType) SerializeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*FixedPointType) String

func (t *FixedPointType) String() string

func (*FixedPointType) ToVarint

func (t *FixedPointType) ToVarint(name string) string

func (*FixedPointType) Typescript

func (t *FixedPointType) Typescript() string

func (*FixedPointType) Typyd

func (t *FixedPointType) Typyd() string

func (*FixedPointType) WireType

func (t *FixedPointType) WireType() WireType

type InstanceType

type InstanceType struct {
	*Object
	IsPtr   bool
	Name    string
	PkgName string
	PkgPath string
}

func (*InstanceType) ByteSizeGo

func (t *InstanceType) ByteSizeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*InstanceType) CachedSizeGo

func (t *InstanceType) CachedSizeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*InstanceType) DeserializeGo

func (t *InstanceType) DeserializeGo(tag string, input string, name string, preFieldNum string, fieldNum int, isVariant bool) (string, WireType, map[string]string)

func (*InstanceType) Go

func (t *InstanceType) Go() (string, map[string]string)

func (*InstanceType) Identifier

func (t *InstanceType) Identifier() string

func (*InstanceType) IsIterative

func (t *InstanceType) IsIterative() bool

func (*InstanceType) IsPrimitive

func (t *InstanceType) IsPrimitive() bool

func (*InstanceType) Javascript

func (t *InstanceType) Javascript() (string, map[string]string)

func (*InstanceType) Python

func (t *InstanceType) Python() string

func (*InstanceType) SerializeGo

func (t *InstanceType) SerializeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*InstanceType) String

func (t *InstanceType) String() string

func (*InstanceType) Typescript

func (t *InstanceType) Typescript() string

func (*InstanceType) Typyd

func (t *InstanceType) Typyd() string

func (*InstanceType) WireType

func (t *InstanceType) WireType() WireType

type ListType

type ListType struct {
	E Type
}

func (*ListType) ByteSizeGo

func (t *ListType) ByteSizeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*ListType) CachedSizeGo

func (t *ListType) CachedSizeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*ListType) DeserializeGo

func (t *ListType) DeserializeGo(tag string, input string, name string, preFieldNum string, fieldNum int, isVariant bool) (string, WireType, map[string]string)

func (*ListType) Go

func (t *ListType) Go() (string, map[string]string)

func (*ListType) Identifier

func (t *ListType) Identifier() string

func (*ListType) IsIterative

func (t *ListType) IsIterative() bool

func (*ListType) IsPrimitive

func (t *ListType) IsPrimitive() bool

func (*ListType) Javascript

func (t *ListType) Javascript() (string, map[string]string)

func (*ListType) Python

func (t *ListType) Python() string

func (*ListType) SerializeGo

func (t *ListType) SerializeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*ListType) String

func (t *ListType) String() string

func (*ListType) Typescript

func (t *ListType) Typescript() string

func (*ListType) Typyd

func (t *ListType) Typyd() string

func (*ListType) WireType

func (t *ListType) WireType() WireType

type Method

type Method struct {
	Name    string
	Params  []Type
	Results []Type
}

func (*Method) String

func (t *Method) String() string

type Object

type Object struct {
	Name    string
	Package string
	Parent  *InstanceType
	Fields  []*Field
	Methods []*Method
}

func (*Object) AllFields

func (t *Object) AllFields(objects map[string]*Object, visible bool) []*Field

func (*Object) ByteSizeGo

func (t *Object) ByteSizeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*Object) CachedSizeGo

func (t *Object) CachedSizeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*Object) DeserializeGo

func (t *Object) DeserializeGo(tag string, input string, name string, preFieldNum string, fieldNum int, isVariant bool) (string, WireType, map[string]string)

func (*Object) FullName

func (t *Object) FullName() string

func (*Object) Go

func (t *Object) Go() (string, map[string]string)

func (*Object) HasParent

func (t *Object) HasParent() bool

func (*Object) Identifier

func (t *Object) Identifier() string

func (*Object) IsIterative

func (t *Object) IsIterative() bool

func (*Object) IsPrimitive

func (t *Object) IsPrimitive() bool

func (*Object) Javascript

func (t *Object) Javascript() (string, map[string]string)

func (*Object) MaxFieldNum

func (t *Object) MaxFieldNum() (string, int)

func (*Object) Python

func (t *Object) Python() string

func (*Object) SerializeGo

func (t *Object) SerializeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*Object) String

func (t *Object) String() string

func (*Object) Typescript

func (t *Object) Typescript() string

func (*Object) Typyd

func (t *Object) Typyd() string

func (*Object) VisibleFields

func (t *Object) VisibleFields() (fields []*Field)

func (*Object) WireType

func (t *Object) WireType() WireType

type ProtoBuf

type ProtoBuf struct {
	Buffer []byte
	// contains filtered or unexported fields
}

func (*ProtoBuf) Bytes

func (p *ProtoBuf) Bytes() []byte

func (*ProtoBuf) EncodeSymbol

func (p *ProtoBuf) EncodeSymbol(s string)

func (*ProtoBuf) ExpectBytes

func (p *ProtoBuf) ExpectBytes(x ...byte) bool

func (*ProtoBuf) ExpectEnd

func (p *ProtoBuf) ExpectEnd() bool

func (*ProtoBuf) ExpectTag

func (p *ProtoBuf) ExpectTag(fieldNum int, wireType WireType) bool

func (*ProtoBuf) Read

func (p *ProtoBuf) Read(b []byte) (n int, err error)

func (*ProtoBuf) ReadBuf

func (p *ProtoBuf) ReadBuf() ([]byte, error)

func (*ProtoBuf) ReadByte

func (p *ProtoBuf) ReadByte() (byte, error)

func (*ProtoBuf) ReadFixed32

func (p *ProtoBuf) ReadFixed32() (uint32, error)

func (*ProtoBuf) ReadFixed64

func (p *ProtoBuf) ReadFixed64() (uint64, error)

func (*ProtoBuf) ReadSymbol

func (p *ProtoBuf) ReadSymbol() (string, error)

func (*ProtoBuf) ReadTag

func (p *ProtoBuf) ReadTag(cutoff int) (int, bool, error)

func (*ProtoBuf) ReadVarint

func (p *ProtoBuf) ReadVarint() (uint64, error)

func (*ProtoBuf) Reset

func (p *ProtoBuf) Reset()

func (*ProtoBuf) SkipField

func (p *ProtoBuf) SkipField(tag int) (err error)

func (*ProtoBuf) Write

func (p *ProtoBuf) Write(b []byte) (n int, err error)

func (*ProtoBuf) WriteBuf

func (p *ProtoBuf) WriteBuf(b []byte)

func (*ProtoBuf) WriteBytes

func (p *ProtoBuf) WriteBytes(x ...byte)

func (*ProtoBuf) WriteFixed32

func (p *ProtoBuf) WriteFixed32(x uint32)

func (*ProtoBuf) WriteFixed64

func (p *ProtoBuf) WriteFixed64(x uint64)

func (*ProtoBuf) WriteSymbol

func (p *ProtoBuf) WriteSymbol(s string)

func (*ProtoBuf) WriteTag

func (p *ProtoBuf) WriteTag(fieldNum int, wireType WireType)

func (*ProtoBuf) WriteVarint

func (p *ProtoBuf) WriteVarint(x uint64)

type SimpleType

type SimpleType uint
const (
	SimpleType_UNKNOWN SimpleType = iota
	SimpleType_NIL
	SimpleType_INT32
	SimpleType_INT64
	SimpleType_UINT32
	SimpleType_UINT64
	SimpleType_BYTES
	SimpleType_STRING
	SimpleType_SYMBOL
	SimpleType_BOOL
	SimpleType_FLOAT32
	SimpleType_FLOAT64
)

func (SimpleType) ByteSizeGo

func (t SimpleType) ByteSizeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (SimpleType) CachedSizeGo

func (t SimpleType) CachedSizeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (SimpleType) DeserializeGo

func (t SimpleType) DeserializeGo(tag string, input string, name string, preFieldNum string, fieldNum int, isVariant bool) (string, WireType, map[string]string)

func (SimpleType) Go

func (t SimpleType) Go() (string, map[string]string)

func (SimpleType) Identifier

func (t SimpleType) Identifier() string

func (SimpleType) IsIterative

func (t SimpleType) IsIterative() bool

func (SimpleType) IsPrimitive

func (t SimpleType) IsPrimitive() bool

func (SimpleType) Javascript

func (t SimpleType) Javascript() (string, map[string]string)

func (SimpleType) Python

func (t SimpleType) Python() string

func (SimpleType) SerializeGo

func (t SimpleType) SerializeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (SimpleType) String

func (t SimpleType) String() string

func (SimpleType) Typescript

func (t SimpleType) Typescript() string

func (SimpleType) Typyd

func (t SimpleType) Typyd() string

func (SimpleType) WireType

func (t SimpleType) WireType() WireType

type Tygo

type Tygo struct {
	// contains filtered or unexported fields
}

func (*Tygo) CachedSize

func (t *Tygo) CachedSize() int

func (*Tygo) SetCachedSize

func (t *Tygo) SetCachedSize(cachedSize int)

type Type

type Type interface {
	WireType() WireType
	Identifier() string
	String() string
	IsPrimitive() bool
	IsIterative() bool
	Go() (string, map[string]string)
	Typyd() string
	Python() string
	Typescript() string
	Javascript() (string, map[string]string)
	ByteSizeGo(string, string, string, int, bool) (string, map[string]string)
	CachedSizeGo(string, string, string, int, bool) (string, map[string]string)
	SerializeGo(string, string, string, int, bool) (string, map[string]string)
	DeserializeGo(string, string, string, string, int, bool) (string, WireType, map[string]string)
}

func Extract

func Extract(dir string, extracter Extracter) (types []Type)

func Parse

func Parse(code string, pkg string, imports map[string]string, typePkg map[string][2]string) []Type

func SimpleType_FromString

func SimpleType_FromString(s string) Type

type UnknownType

type UnknownType string

func (UnknownType) ByteSizeGo

func (t UnknownType) ByteSizeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (UnknownType) CachedSizeGo

func (t UnknownType) CachedSizeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (UnknownType) DeserializeGo

func (t UnknownType) DeserializeGo(tag string, input string, name string, preFieldNum string, fieldNum int, isVariant bool) (string, WireType, map[string]string)

func (UnknownType) Go

func (t UnknownType) Go() (string, map[string]string)

func (UnknownType) Identifier

func (t UnknownType) Identifier() string

func (UnknownType) IsIterative

func (t UnknownType) IsIterative() bool

func (UnknownType) IsPrimitive

func (t UnknownType) IsPrimitive() bool

func (UnknownType) Javascript

func (t UnknownType) Javascript() (string, map[string]string)

func (UnknownType) Python

func (t UnknownType) Python() string

func (UnknownType) SerializeGo

func (t UnknownType) SerializeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (UnknownType) String

func (t UnknownType) String() string

func (UnknownType) Typescript

func (t UnknownType) Typescript() string

func (UnknownType) Typyd

func (t UnknownType) Typyd() string

func (UnknownType) WireType

func (t UnknownType) WireType() WireType

type VariantType

type VariantType struct {
	Ts []Type
}

func (*VariantType) ByteSizeGo

func (t *VariantType) ByteSizeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*VariantType) CachedSizeGo

func (t *VariantType) CachedSizeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*VariantType) DeserializeGo

func (t *VariantType) DeserializeGo(tag string, input string, name string, preFieldNum string, fieldNum int, isVariant bool) (string, WireType, map[string]string)

func (*VariantType) Go

func (t *VariantType) Go() (string, map[string]string)

func (*VariantType) Identifier

func (t *VariantType) Identifier() string

func (*VariantType) IsIterative

func (t *VariantType) IsIterative() bool

func (*VariantType) IsPrimitive

func (t *VariantType) IsPrimitive() bool

func (*VariantType) Javascript

func (t *VariantType) Javascript() (string, map[string]string)

func (*VariantType) Python

func (t *VariantType) Python() string

func (*VariantType) SerializeGo

func (t *VariantType) SerializeGo(size string, name string, preFieldNum string, fieldNum int, ignore bool) (string, map[string]string)

func (*VariantType) String

func (t *VariantType) String() string

func (*VariantType) Typescript

func (t *VariantType) Typescript() string

func (*VariantType) Typyd

func (t *VariantType) Typyd() string

func (*VariantType) WireType

func (t *VariantType) WireType() WireType

type WireType

type WireType int
const (
	WireVarint WireType = iota
	WireFixed64
	WireBytes
	WireStart
	WireEnd
	WireFixed32
)

func (WireType) String

func (i WireType) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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