Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application interface { GetUser(ctx context.Context, in *GetUserInput) (*GetUserOutput, error) UpdateUser(ctx context.Context, in *UpdateUserInput) (*UpdateUserOutput, error) DeleteUser(ctx context.Context, in *DeleteUserInput) (*DeleteUserOutput, error) }
func NewApplication ¶
func NewApplication(core *application.Core) Application
type DeleteUserInput ¶
type DeleteUserInput struct {
*application.AddressHexInput
}
func NewDeleteUserInput ¶
func NewDeleteUserInput(addressHex string) *DeleteUserInput
type DeleteUserOutput ¶
type DeleteUserOutput struct{}
func NewDeleteUserOutput ¶
func NewDeleteUserOutput() *DeleteUserOutput
type GetUserInput ¶
type GetUserInput struct {
*application.AddressHexInput
}
func NewGetUserInput ¶
func NewGetUserInput(addressHex string) *GetUserInput
type GetUserOutput ¶
func NewGetUserOutput ¶
func NewGetUserOutput(u *domain.User) *GetUserOutput
type UpdateUserInput ¶
type UpdateUserInput struct { *application.AddressHexInput Name string }
func NewUpdateUserInput ¶
func NewUpdateUserInput(addressHex, name string) *UpdateUserInput
func (*UpdateUserInput) Validate ¶
func (in *UpdateUserInput) Validate() error
type UpdateUserOutput ¶
type UpdateUserOutput struct{}
func NewUpdateUserOutput ¶
func NewUpdateUserOutput() *UpdateUserOutput
Click to show internal directories.
Click to hide internal directories.