networkx

package
v0.0.232 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: Apache-2.0 Imports: 13 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressIsUnixSocket added in v0.0.221

func AddressIsUnixSocket(address string) bool

func MakeListener added in v0.0.221

func MakeListener(address string, socketPermission *configx.UnixPermission) (net.Listener, error)

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(
	c *pop.Connection,
	l *logrusx.Logger,
	t *tracing.Tracer,
) *Manager

func (*Manager) Determine

func (m *Manager) Determine(ctx context.Context) (*Network, error)

func (*Manager) MigrateUp

func (m *Manager) MigrateUp(ctx context.Context) error

type Network

type Network struct {
	ID uuid.UUID `json:"id" db:"id"`

	// CreatedAt is a helper struct field for gobuffalo.pop.
	CreatedAt time.Time `json:"-" db:"created_at"`

	// UpdatedAt is a helper struct field for gobuffalo.pop.
	UpdatedAt time.Time `json:"-" db:"updated_at"`
}

func NewNetwork

func NewNetwork() *Network

func (Network) TableName

func (p Network) TableName() string

Jump to

Keyboard shortcuts

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