chapi2

package
v4.6.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 11 Imported by: 10 modules, 8 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ChapidSocketPath : the directory for chapid socket
	ChapidSocketPath = util.GetNltHome() + "etc/"
	//ChapidSocketName : chapid socket name
	ChapidSocketName = "chapid"
)

Functions

func IsChapidRunning

func IsChapidRunning(chapidSocket string) bool

IsChapidRunning return true if chapid is running as part of service listening on given socket

func NewRouter

func NewRouter() *mux.Router

NewRouter creates a new mux.Router

func Run

func Run() (err error)

Run will invoke a new chapid listener with socket filename containing current process ID

func RunNimbled

func RunNimbled(c chan error)

RunNimbled :

func StopChapid

func StopChapid() error

StopChapid will stop the given http listener

Types

This section is empty.

Directories

Path Synopsis
(c) Copyright 2019 Hewlett Packard Enterprise Development LP
(c) Copyright 2019 Hewlett Packard Enterprise Development LP

Jump to

Keyboard shortcuts

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