{"modulePath":"github.com/BeanCodeDe/SpaceLight-Data","version":"v0.1.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package api\n\n## Constants\n\n```go\nconst ProfilRootPath = \"/profiles\"\n```\n\n```go\nconst ShipRootPath = \"/ships\"\n```\n\n## Types\n\n```go\ntype Api interface {\n}\n```\n\n```go\nfunc NewApi() (Api, error)\n```\n\n```go\ntype CustomValidator struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cv *CustomValidator) Validate(i interface{}) error\n```\n\n```go\ntype DoorDTO struct {\n\tRoomBlockOneId int\n\tRoomBlockTwoId int\n}\n```\n\n```go\ntype EchoApi struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\ntype ProfileCreateDTO struct {\n\tName string `json:\"Name\" validate:\"required,alphanum\"`\n}\n```\n\n```go\ntype ProfileResponseDTO struct {\n\tUserId uuid.UUID\n\tName   string\n}\n```\n\n```go\ntype RoomBlockDTO struct {\n\tId   int\n\tPosX int\n\tPosY int\n}\n```\n\n```go\ntype RoomPlaceDTO struct {\n\tId            int\n\tRoomBlockList []*RoomBlockDTO\n}\n```\n\n```go\ntype ShipTypeDTO struct {\n\tId              uuid.UUID\n\tName            string\n\tRoomPlaceList   []*RoomPlaceDTO\n\tDoorList        []*DoorDTO\n\tWeaponPlaceList []*WeaponPlaceDTO\n}\n```\n\n```go\ntype WeaponPlaceDTO struct {\n\tPosX int\n\tPosY int\n}\n```\n\n","path":"github.com/BeanCodeDe/SpaceLight-Data/internal/app/data/api","name":"api","synopsis":"","isRedistributable":true}
