isupkg

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 4 Imported by: 0

README

isupkg

install

go get -u github.com/gari8/ispkg

use

package main

import (
	"github.com/gari8/ispkg"
)

func main() {
	p := isupkg.Profile{}
	_ = p.Run()
	defer p.Stop()
	// ...other codes
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Profile

type Profile struct {
	MutexProfileRate int
	BlockProfileRate int
	Hostname         string
	ServerAddress    string
	AppName          string
	Version          string
	// contains filtered or unexported fields
}

func (*Profile) Run

func (p *Profile) Run() error

func (*Profile) Stop

func (p *Profile) Stop() error

Jump to

Keyboard shortcuts

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