networkx

package
v0.0.216 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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