server

package
v0.0.0-...-ff5f600 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2016 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMaxSockPathLen

func GetMaxSockPathLen() int

func NewLocalKeyManager

func NewLocalKeyManager(path string, passphrase []byte) (agent.KeyManager, error)

func ServeAgent

func ServeAgent(i *ipc.IPC, principal security.Principal) (err error)

ServeAgent registers the agent server with 'ipc'. It will respond to requests using 'principal'. Must be called before ipc.Listen or ipc.Connect.

func ServeKeyManager

func ServeKeyManager(i *ipc.IPC, path string, passphrase []byte) error

ServeKeyManager registers key manager server with 'ipc'. It will persist principals in 'path' using 'passphrase'. Must be called before ipc.Listen or ipc.Connect.

Types

This section is empty.

Jump to

Keyboard shortcuts

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