Documentation
¶
Index ¶
- Constants
- func GenerateBytes(fd protoreflect.FieldDescriptor) []byte
- func GenerateFixed32(fd protoreflect.FieldDescriptor) uint32
- func GenerateFixed64(fd protoreflect.FieldDescriptor) uint64
- func GenerateFloat32(fd protoreflect.FieldDescriptor) float32
- func GenerateFloat64(fd protoreflect.FieldDescriptor) float64
- func GenerateInt32(fd protoreflect.FieldDescriptor) int32
- func GenerateInt64(fd protoreflect.FieldDescriptor) int64
- func GenerateSFixed64(fd protoreflect.FieldDescriptor) int64
- func GenerateSFixedInt32(fd protoreflect.FieldDescriptor) int32
- func GenerateSInt32(fd protoreflect.FieldDescriptor) int32
- func GenerateSInt64(fd protoreflect.FieldDescriptor) int64
- func GenerateString(fd protoreflect.FieldDescriptor) string
- func GenerateUInt32(fd protoreflect.FieldDescriptor) uint32
- func GenerateUInt64(fd protoreflect.FieldDescriptor) uint64
- func SetDataOnMessage(msg *dynamicpb.Message)
- type BytesHints
- type Fixed32Hints
- type Fixed64Hints
- type Float32Hints
- type Float64Hints
- type Int32Hints
- type Int64Hints
- type SFixed64Hints
- type SFixedInt32Hints
- type SInt32Hints
- type SInt64Hints
- type StringHints
- type UInt32Hints
- type UInt64Hints
Constants ¶
View Source
const MaxNestedDepth = 20
Variables ¶
This section is empty.
Functions ¶
func GenerateBytes ¶
func GenerateBytes(fd protoreflect.FieldDescriptor) []byte
func GenerateFixed32 ¶
func GenerateFixed32(fd protoreflect.FieldDescriptor) uint32
func GenerateFixed64 ¶
func GenerateFixed64(fd protoreflect.FieldDescriptor) uint64
func GenerateFloat32 ¶
func GenerateFloat32(fd protoreflect.FieldDescriptor) float32
func GenerateFloat64 ¶
func GenerateFloat64(fd protoreflect.FieldDescriptor) float64
func GenerateInt32 ¶
func GenerateInt32(fd protoreflect.FieldDescriptor) int32
func GenerateInt64 ¶
func GenerateInt64(fd protoreflect.FieldDescriptor) int64
func GenerateSFixed64 ¶
func GenerateSFixed64(fd protoreflect.FieldDescriptor) int64
func GenerateSFixedInt32 ¶
func GenerateSFixedInt32(fd protoreflect.FieldDescriptor) int32
func GenerateSInt32 ¶
func GenerateSInt32(fd protoreflect.FieldDescriptor) int32
func GenerateSInt64 ¶
func GenerateSInt64(fd protoreflect.FieldDescriptor) int64
func GenerateString ¶
func GenerateString(fd protoreflect.FieldDescriptor) string
func GenerateUInt32 ¶
func GenerateUInt32(fd protoreflect.FieldDescriptor) uint32
func GenerateUInt64 ¶
func GenerateUInt64(fd protoreflect.FieldDescriptor) uint64
func SetDataOnMessage ¶ added in v0.0.4
Types ¶
type BytesHints ¶
type Fixed32Hints ¶
type Fixed32Hints struct {
Rules *validate.Fixed32Rules
}
type Fixed64Hints ¶
type Fixed64Hints struct {
Rules *validate.Fixed64Rules
}
type Float32Hints ¶
type Float32Hints struct {
Rules *validate.FloatRules
}
type Float64Hints ¶
type Float64Hints struct {
Rules *validate.DoubleRules
}
type Int32Hints ¶
type Int32Hints struct {
Rules *validate.Int32Rules
}
type Int64Hints ¶
type Int64Hints struct {
Rules *validate.Int64Rules
}
type SFixed64Hints ¶
type SFixed64Hints struct {
Rules *validate.SFixed64Rules
}
type SFixedInt32Hints ¶
type SFixedInt32Hints struct {
Rules *validate.SFixed32Rules
}
type SInt32Hints ¶
type SInt32Hints struct {
Rules *validate.SInt32Rules
}
type SInt64Hints ¶
type SInt64Hints struct {
Rules *validate.SInt64Rules
}
type StringHints ¶
type UInt32Hints ¶
type UInt32Hints struct {
Rules *validate.UInt32Rules
}
type UInt64Hints ¶
type UInt64Hints struct {
Rules *validate.UInt64Rules
}
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
fauxrpc
command
|
|
|
example
|
|
|
generated-faux-server
module
|
|
|
generated-mocks
module
|
|
|
private
|
|
|
testcontainers
module
|
Click to show internal directories.
Click to hide internal directories.
