gspt

package module
v0.0.0-...-ce36a51 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2021 License: MIT Imports: 4 Imported by: 23

README

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.

Documentation

Index

Constants

View Source
const (
	// These values must match the return values for spt_init1() used in C.
	HaveNone        = 0
	HaveNative      = 1
	HaveReplacement = 2
)

Variables

View Source
var (
	HaveSetProcTitle     int
	HaveSetProcTitleFast int
)

Functions

func SetProcTitle

func SetProcTitle(title string)

func SetProcTitleFast

func SetProcTitleFast(title string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL