Shutdown function

Declare a shutdown function for your project with GXML tag <shutdown/>. This will be the code executed on web server exit.

Syntax

Shutdown tags are placed at the root of your <gos/> tag.

GXML content :

Defines Go code block to run.

Sample tag :

<gos>
	...
	<shutdown>
		println("Bye world")
	</shutdown>
	...
</gos>


Exported to package:
Exports to files :