Documentation
¶
Index ¶
Constants ¶
View Source
const ProfilRootPath = "/profiles"
View Source
const ShipRootPath = "/ships"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomValidator ¶
type CustomValidator struct {
// contains filtered or unexported fields
}
func (*CustomValidator) Validate ¶
func (cv *CustomValidator) Validate(i interface{}) error
type ProfileCreateDTO ¶
type ProfileCreateDTO struct {
Name string `json:"Name" validate:"required,alphanum"`
}
type ProfileResponseDTO ¶
type RoomBlockDTO ¶
type RoomPlaceDTO ¶
type RoomPlaceDTO struct { Id int RoomBlockList []*RoomBlockDTO }
type ShipTypeDTO ¶
type ShipTypeDTO struct { Id uuid.UUID Name string RoomPlaceList []*RoomPlaceDTO DoorList []*DoorDTO WeaponPlaceList []*WeaponPlaceDTO }
type WeaponPlaceDTO ¶
Click to show internal directories.
Click to hide internal directories.