Documentation ¶
Index ¶
- Variables
- func MessageTypeName(val starlark.Value) (string, bool)
- func NewEnumType(desc *desc.EnumDescriptor) starlark.Value
- func NewMessageType(desc *desc.MessageDescriptor) starlark.Value
- func NewStarProtoMessage(msg *dynamic.Message) *starProtoMessage
- func ToProtoMessage(val starlark.Value) (*dynamic.Message, bool)
Constants ¶
This section is empty.
Variables ¶
View Source
var AnyModule = &starlarkstruct.Module{ Name: "any", Members: starlark.StringDict{ "new": starlark.NewBuiltin("new", newAny), "unpack": starlark.NewBuiltin("unpack", unpackAny), }, }
Functions ¶
func NewEnumType ¶ added in v0.1.7
func NewEnumType(desc *desc.EnumDescriptor) starlark.Value
func NewMessageType ¶
func NewMessageType(desc *desc.MessageDescriptor) starlark.Value
func NewStarProtoMessage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.