Documentation ¶
Index ¶
- Constants
- func Copy(logger lager.Logger, wg *sync.WaitGroup, dest io.Writer, src io.Reader)
- func CopyAndClose(logger lager.Logger, wg *sync.WaitGroup, dest io.WriteCloser, src io.Reader, ...)
- func MD5Fingerprint(key ssh.PublicKey) string
- func NewHTTPSClient(insecureSkipVerify bool, caCertFiles []string, ...) (*http.Client, error)
- func NewLagerWriter(logger lager.Logger) io.Writer
- func SHA1Fingerprint(key ssh.PublicKey) string
- func SHA256Fingerprint(key ssh.PublicKey) string
- type ListenerStore
Constants ¶
View Source
const MD5_FINGERPRINT_LENGTH = 47
View Source
const SHA1_FINGERPRINT_LENGTH = 59
View Source
const SHA256_FINGERPRINT_LENGTH = 95
Variables ¶
This section is empty.
Functions ¶
func CopyAndClose ¶
func MD5Fingerprint ¶
func NewHTTPSClient ¶
func NewLagerWriter ¶
NewLagerWriter wraps a Writer around a lager.Logger Log messages will be written at the specified log level
func SHA1Fingerprint ¶
func SHA256Fingerprint ¶
Types ¶
type ListenerStore ¶
type ListenerStore struct {
// contains filtered or unexported fields
}
func NewListenerStore ¶
func NewListenerStore() *ListenerStore
func (*ListenerStore) AddListener ¶
func (t *ListenerStore) AddListener(addr string, ln net.Listener)
func (*ListenerStore) ListAll ¶
func (t *ListenerStore) ListAll() []string
func (*ListenerStore) RemoveAll ¶
func (t *ListenerStore) RemoveAll()
func (*ListenerStore) RemoveListener ¶
func (t *ListenerStore) RemoveListener(addr string) error
Click to show internal directories.
Click to hide internal directories.