Documentation ¶
Index ¶
Constants ¶
View Source
const Syntax = "proto3"
Variables ¶
View Source
var ( Double = &Message{ Name: "double", } Float = &Message{ Name: "float", } Int32 = &Message{ Name: "int32", } Int64 = &Message{ Name: "int64", } Uint32 = &Message{ Name: "uint32", } Uint64 = &Message{ Name: "uint64", } Bool = &Message{ Name: "bool", } String = &Message{ Name: "string", } Bytes = &Message{ Name: "bytes", } Any = &Message{ Name: "google.protobuf.Any", } )
View Source
var EnumStore = make(map[string]*Message)
View Source
var MessageStore = make(map[string]*Message)
Functions ¶
This section is empty.
Types ¶
type Message ¶
Message represents protobuf message definition
func NewMessage ¶
func NewMessage(structmeta astutils.StructMeta) *Message
NewMessage returns message instance from astutils.StructMeta
Click to show internal directories.
Click to hide internal directories.