network

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Network

type Network struct {
	Started bool
	Shared  *Shared
}

func New

func New(mgr *manager.Manager) *Network

func (*Network) Apply

func (network *Network) Apply(user *authentication.User, definition []byte, agent string) (contracts.Response, error)

func (*Network) Compare

func (network *Network) Compare(user *authentication.User, definition []byte) (contracts.Response, error)

func (*Network) Delete

func (network *Network) Delete(user *authentication.User, definition []byte, agent string) (contracts.Response, error)

func (*Network) Event added in v0.0.137

func (network *Network) Event(event contracts.Event) error

func (*Network) GetShared

func (network *Network) GetShared() interface{}

func (*Network) Start

func (network *Network) Start() error

type Shared

type Shared struct {
	Manager *manager.Manager
	Client  *client.Http
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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