Documentation ¶ Index ¶ func StartServer(imageDir string) error type Image type PageData Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func StartServer ¶ func StartServer(imageDir string) error Types ¶ type Image ¶ type Image struct { Name string URL string } type PageData ¶ type PageData struct { Images []Image HasPrev bool HasNext bool PrevPage int NextPage int CurrentPage int TotalPages int PageNumbers []int ShowEllipsis bool } Source Files ¶ View all Source files server.go Click to show internal directories. Click to hide internal directories.