gh-ost/vendor/github.com/ErikDubbelboer/gspt
2020-09-07 12:56:13 -07:00
..
example Hidden password from /proc/{pid}/cmdline or ps command output 2020-09-07 12:56:13 -07:00
.travis.yml Hidden password from /proc/{pid}/cmdline or ps command output 2020-09-07 12:56:13 -07:00
gspt_test.go Hidden password from /proc/{pid}/cmdline or ps command output 2020-09-07 12:56:13 -07:00
gspt.go Hidden password from /proc/{pid}/cmdline or ps command output 2020-09-07 12:56:13 -07:00
LICENSE Hidden password from /proc/{pid}/cmdline or ps command output 2020-09-07 12:56:13 -07:00
README.md Hidden password from /proc/{pid}/cmdline or ps command output 2020-09-07 12:56:13 -07:00
setproctitle.h Hidden password from /proc/{pid}/cmdline or ps command output 2020-09-07 12:56:13 -07:00

gspt

setproctitle() package for Go.

Build Status


Installation

Simple install the package to your $GOPATH with the go tool:

go get github.com/erikdubbelboer/gspt

Make sure Git is installed on your machine and in your system's PATH.

Usage

import "github.com/erikdubbelboer/gspt"

gspt.SetProcTitle("some title")

Please check the documentation for more details.