network

package
v0.0.0-...-0262e0e Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

SPDX-FileCopyrightText: Copyright (c) 2023, CIQ, Inc. All rights reserved SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerOption

type ServerOption struct {
	Server      *http.Server
	WebConfig   *web.FlagConfig
	MetricStore storage.MetricStore
	Logger      log.Logger
	SocketPath  string
	TrustedPath string
	Interval    *time.Ticker
	ErrCh       chan error
}

type WrappedInstance

type WrappedInstance struct {
	*parser.ContainerInfo
	*monitor.Instance
	net.Conn
	Err error
}

type WrappedListener

type WrappedListener struct {
	*peercred.Listener
	TrustedPath string
	Option      *ServerOption
	ErrCh       chan *WrappedInstance
	DoneCh      chan *WrappedInstance
}

func (*WrappedListener) Accept

func (l *WrappedListener) Accept() (net.Conn, error)

Jump to

Keyboard shortcuts

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