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 8, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

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