mngt

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IMngtService

type IMngtService interface {
	ListEndpoints() ([]domain.Endpoint, error)
	RegisterEndpoint(domain.Endpoint) error
	UpdateEndpoint(domain.Endpoint) error
}

type MngtService

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

func NewMngtService

func NewMngtService(repository domain.IEndpoint) MngtService

NewMngtService return new MngtService

func (MngtService) ListEndpoints

func (s MngtService) ListEndpoints() ([]domain.Endpoint, error)

func (MngtService) RegisterEndpoint

func (s MngtService) RegisterEndpoint(endpoint domain.Endpoint) error

func (MngtService) UpdateEndpoint

func (s MngtService) UpdateEndpoint(endpoint domain.Endpoint) error

Jump to

Keyboard shortcuts

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