Goit

Simple and lightweight Git web server
git clone http://git.omkov.net/Goit
Log | Tree | Refs | README | Download

Goit/res/admin/status.html (36 lines, 810 B) -rw-r--r-- blame download

01234567891011121314151617181920212223242526272829303132333435
<!DOCTYPE html>
<html lang="en">
	<head>{{template "base/head" .}}</head>
	<body>
		<header>{{template "admin/header" .}}</header><hr>
		<main>
			<table>
				<tr>
					<td style="text-align: right;"><b>Version</b></td>
					<td>{{.Version}}</td>
				</tr>
				<tr>
					<td style="text-align: right;"><b>Uptime</b></td>
					<td>{{.Uptime}}</td>
				</tr>
				<tr>
					<td style="text-align: right;"><b>Goroutines</b></td>
					<td>{{.Goroutines}}</td>
				</tr>
				<tr>
					<td style="text-align: right;"><b>Memory</b></td>
					<td>{{.Memory}}</td>
				</tr>
				<tr>
					<td style="text-align: right;"><b>Stack Usage</b></td>
					<td>{{.Stack}}</td>
				</tr>
				<tr>
					<td style="text-align: right;"><b>Heap Usage</b></td>
					<td>{{.Heap}}</td>
				</tr>
			</table>
		</main>
	</body>
</html>