Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Expect ¶
type Expect struct { Code string `yaml:"code"` Body yaml.KeyOrderPreservedInterface `yaml:"body"` Status ExpectStatus `yaml:"status"` }
Expect represents expected response values.
type ExpectStatus ¶
type ExpectStatus struct { Code string `yaml:"code"` Message string `yaml:"message"` Details []map[string]yaml.MapSlice `yaml:"details"` }
ExpectStatus represents expected gRPC status.
type GRPC ¶
type GRPC struct{}
GRPC is a protocol type for the scenarigo step.
func (*GRPC) UnmarshalExpect ¶
func (p *GRPC) UnmarshalExpect(unmarshal func(interface{}) error) (protocol.AssertionBuilder, error)
UnmarshalExpect implements protocol.Protocol interface.
Click to show internal directories.
Click to hide internal directories.