commands

package
v0.0.0-...-26d71a5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateEventCommand

type CreateEventCommand struct {
	SpaceId     int
	UserId      int
	Name        string
	Description string
	BeginDate   time.Time
	EndDate     time.Time
	Tags        entity.Tags
}

EVENTS

type CreateSpaceCommand

type CreateSpaceCommand struct {
	UserID      int
	Name        string
	Description string
	Tags        entity.Tags
}

SPACES

type CreateUserCommand

type CreateUserCommand struct {
	FirstName string
	LastName  string
	UserName  string
	PhotoURL  string
	AuthDate  time.Time
}

USER

type EventByIdCommand

type EventByIdCommand struct {
	ID int `path:"id" maxLength:"30" example:"1" doc:"event id"`
}

EVENTS

type FormByIdCommand

type FormByIdCommand struct {
	UserID  int
	SpaceID int
}

USER

type JoinEventCommand

type JoinEventCommand struct {
	EventId int `json:"eventId" example:"123" doc:"Event ID"`
	UserId  int `json:"userId" example:"123" doc:"User ID"`
}

EVENTS

type JoinSpaceCommand

type JoinSpaceCommand struct {
	SpaceID int
	UserID  int
}

SPACES

type SpaceByIdCommand

type SpaceByIdCommand struct {
	ID int
}

SPACES

type SpaceCommand

type SpaceCommand struct {
	Name        string
	Description string
	Tags        entity.Tags
}

SPACES

type UpdateFormCommand

type UpdateFormCommand struct {
	UserID   int
	SpaceID  int
	UserTags entity.Tags
	PairTags entity.Tags
}

USER

type UpdateSpaceCommand

type UpdateSpaceCommand struct {
	ID          int
	Name        string
	Description string
}

SPACES

type UpdateUserCommand

type UpdateUserCommand struct {
	ID        int
	FirstName string
	LastName  string
	UserName  string
	PhotoURL  string
}

USER

type UserByIdCommand

type UserByIdCommand struct {
	ID int
}

USER

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL