~f4814n/frost

ref: 1eee8169fcf6bda919ba018c6742f7b2d5268f15 frost/cmd/frost/profile.go -rw-r--r-- 155 bytes
1eee8169Fabian Geiselhart platform: Colorful logs on linux 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//+build profile

package main

import (
	_ "net/http/pprof"
	"net/http"
)

func init() {
	go func() {
		http.ListenAndServe("localhost:6060", nil)
	}()
}