Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNestedConcurrentCommand = errors.New(
"concurrent commands may not be nested")
ErrNestedConcurrentCommand is returned when a ConcurrentCommand contains a ConcurrentCommand.
Functions ¶
This section is empty.
Types ¶
type ErrRequestToUndefinedService ¶
type ErrRequestToUndefinedService struct {
ServiceName string
}
ErrRequestToUndefinedService is returned when a RequestCommand has a ServiceName that is not the name of a defined service.
func (ErrRequestToUndefinedService) Error ¶
func (e ErrRequestToUndefinedService) Error() string
type ServiceGraph ¶
ServiceGraph describes a set of services which mock a service-oriented architecture.
func (*ServiceGraph) UnmarshalJSON ¶
func (g *ServiceGraph) UnmarshalJSON(b []byte) (err error)
UnmarshalJSON converts b into a valid ServiceGraph. See validate() for the details on what it means to be "valid".
Click to show internal directories.
Click to hide internal directories.