Documentation ¶
Index ¶
- func NewBoolValue(v bool) *grpc.Value
- func NewDoubleValue(v float64) *grpc.Value
- func NewIntegerValue(v int64) *grpc.Value
- func NewList(v []interface{}) (*grpc.ListValue, error)
- func NewListValue(v *grpc.ListValue) *grpc.Value
- func NewNullValue() *grpc.Value
- func NewStringValue(v string) *grpc.Value
- func NewStruct(v map[string]interface{}) (*grpc.Struct, error)
- func NewStructValue(v *grpc.Struct) *grpc.Value
- func NewValue(v interface{}) (*grpc.Value, error)
- func NewValueMap(inputMap map[string]interface{}) map[string]*grpc.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBoolValue ¶
NewBoolValue constructs a new boolean Value.
func NewDoubleValue ¶
NewNumberValue constructs a new number Value.
func NewIntegerValue ¶
NewInteger constructs a new number Value.
func NewList ¶
NewList constructs a ListValue from a general-purpose Go slice. The slice elements are converted using NewValue.
func NewListValue ¶
NewListValue constructs a new list Value.
func NewStringValue ¶
NewStringValue constructs a new string Value.
func NewStruct ¶
NewStruct constructs a Struct from a general-purpose Go map. The map keys must be valid UTF-8. The map values are converted using NewValue.
func NewStructValue ¶
NewStructValue constructs a new struct Value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.