Documentation ¶
Index ¶
- Constants
- func MapMapMarshal(value reflect.Value, tag string, omitempty, omitminus bool) map[string]interface{}
- func MapMarshal(iface interface{}, tag string, omitempty, omitminus bool) map[string]interface{}
- func MapStructMarshal(value reflect.Value, tag string, omitempty, omitminus bool) map[string]interface{}
- func MapValueMarshal(value reflect.Value, tag string, omitempty, omitminus, dostrconv bool) (iface interface{})
- type JSONStringSerializer
- type RPCTestMsg
- type SerializerMixin
Constants ¶
View Source
const DefaultContainerWaitTimeout = 2 * time.Minute
View Source
const DefaultTestTimeout = 5 * time.Second
View Source
const DefaultTestTimeoutInMs = int64(DefaultTestTimeout / time.Millisecond)
Variables ¶
This section is empty.
Functions ¶
func MapMapMarshal ¶
func MapMarshal ¶
func MapStructMarshal ¶
Types ¶
type JSONStringSerializer ¶
type JSONStringSerializer struct {
// contains filtered or unexported fields
}
type RPCTestMsg ¶
RPCTestMsg implements the gomock.Matcher interface
func (*RPCTestMsg) Matches ¶
func (r *RPCTestMsg) Matches(msg interface{}) bool
func (*RPCTestMsg) String ¶
func (r *RPCTestMsg) String() string
type SerializerMixin ¶
type SerializerMixin interface { Validate(string, string) error AsJSON(string, interface{}, bool) (string, error) }
func NewJSONStringSerializer ¶
func NewJSONStringSerializer() SerializerMixin
Click to show internal directories.
Click to hide internal directories.