Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Demo ¶
type Demo interface {
// DemoCommand
// @CQRS @Command
DemoCommand(ctx context.Context, req *DemoCommandReq) (*DemoCommandResp, error)
// DemoQuery
// @CQRS @Query
DemoQuery(ctx context.Context, req *DemoQueryReq) (*DemoQueryResp, error)
DemoDefault(ctx context.Context, req *DemoDefaultReq) (*DemoDefaultResp, error)
}
Demo @CQRS @QueryPath(../../query) @CommandPath(../../command)
type DemoCommandReq ¶
type DemoCommandReq struct {
}
type DemoCommandResp ¶
type DemoCommandResp struct {
}
type DemoDefaultReq ¶
type DemoDefaultReq struct {
}
type DemoDefaultResp ¶
type DemoDefaultResp struct {
}
type DemoQueryReq ¶
type DemoQueryReq struct {
}
type DemoQueryResp ¶
type DemoQueryResp struct {
}
Click to show internal directories.
Click to hide internal directories.