Documentation ¶
Index ¶
- Variables
- func GetStore(ctx context.Context, t testing.TB) kv.Store
- func TestDriver(t *testing.T, name string, params kvparams.Config)
- type MakeStore
- type TestModel
- func (*TestModel) Descriptor() ([]byte, []int)deprecated
- func (x *TestModel) GetADouble() float64
- func (x *TestModel) GetJustAString() string
- func (x *TestModel) GetName() []byte
- func (x *TestModel) GetTestList() []bool
- func (x *TestModel) GetTestMap() map[string]int32
- func (x *TestModel) GetTestTime() *timestamppb.Timestamp
- func (*TestModel) ProtoMessage()
- func (x *TestModel) ProtoReflect() protoreflect.Message
- func (x *TestModel) Reset()
- func (x *TestModel) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_test_model_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type TestModel ¶ added in v0.65.0
type TestModel struct { Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` JustAString string `protobuf:"bytes,2,opt,name=just_a_string,json=justAString,proto3" json:"just_a_string,omitempty"` ADouble float64 `protobuf:"fixed64,3,opt,name=a_double,json=aDouble,proto3" json:"a_double,omitempty"` TestTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=test_time,json=testTime,proto3" json:"test_time,omitempty"` TestMap map[string]int32 `` /* 171-byte string literal not displayed */ TestList []bool `protobuf:"varint,6,rep,packed,name=test_list,json=testList,proto3" json:"test_list,omitempty"` // contains filtered or unexported fields }
func (*TestModel) Descriptor
deprecated
added in
v0.65.0
func (*TestModel) GetADouble ¶ added in v0.65.0
func (*TestModel) GetJustAString ¶ added in v0.69.0
func (*TestModel) GetTestList ¶ added in v0.65.0
func (*TestModel) GetTestMap ¶ added in v0.65.0
func (*TestModel) GetTestTime ¶ added in v0.65.0
func (x *TestModel) GetTestTime() *timestamppb.Timestamp
func (*TestModel) ProtoMessage ¶ added in v0.65.0
func (*TestModel) ProtoMessage()
func (*TestModel) ProtoReflect ¶ added in v0.65.0
func (x *TestModel) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.