meshunsetter

package
v0.0.0-...-aa2490a Latest Latest
Warning

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

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

Documentation

Overview

Package MeshUnsetter responsible for unsetting meshnet if got 404 on api request

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MeshUnsetter

type MeshUnsetter interface {
	UnSetMesh() error
}

type Meshnet

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

func NewMeshnet

func NewMeshnet(
	man config.Manager,
	netw MeshUnsetter,
	errPublisher events.Publisher[error],
	norduser service.NorduserFileshareClient,
) *Meshnet

func (*Meshnet) NotifyDisabled

func (m *Meshnet) NotifyDisabled(any) error

func (*Meshnet) NotifySelfRemoved

func (m *Meshnet) NotifySelfRemoved(any) error

NotifySelfRemoved unsets meshnet.

Jump to

Keyboard shortcuts

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