service

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ping

func Ping(c context.Context) error

Types

type Service

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

func New

func New(cfg *config.Config) *Service

func (*Service) CNodes

func (s *Service) CNodes() ([]*model.CNode, error)

func (*Service) Config

func (s *Service) Config() *config.Config

func (*Service) DNodes

func (s *Service) DNodes() ([]*model.DNode, error)

func (*Service) StoreNodes

func (s *Service) StoreNodes(cNodes []*model.CNode, dNodes []*model.DNode)

Jump to

Keyboard shortcuts

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