Gopher uses a file called 'gophermap' to structure the directory. It's very simple and easy to pick up if you've ever used markdown

Gopher Type Description Files binded to this gopher type
1 Plain Text File *.txt
1 Directory listing All directories
2 CSO Search query -
4 Error Message -
5 Binary (PC-DOS) archive file -
6 UUEncoded text file -
7 Search engine query -
9 Binary file all files that dont' fit into another category
g GIF image *.gif
h HTML file *.htm, *.html
i informational message -
I image file (not GIF) *.jpg, *.jpeg, *.png, *.bmp, *.pcx, *.ico, *.tif, *.tiff, *.svg, *.eps
s Auido FIle *.mp3, *.mp2, *.wav, *.mid, *.wma, *.flac, *.mpc, *.aiff, *.aac
P PDF file *.pdf
M MIME encoded message -
; Video file -

Example Gophermap

iWelcome to the gopher server!
0About me  /~user/about.txt
1Downloads  /download
hMy website  URL:http://subdomain.domain.tld/me