howdy

package
v0.0.0-...-cbcbfe2 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Status  string   `json:"status"`
	Results []string `json:"results"`
}

type Results

type Results struct {
	Nodes map[int]Node `json:"node"`
}

type Server

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

func New

func New(port int, logger *zap.Logger, etcd *clientv3.Client) Server

func (*Server) GetCurrent

func (s *Server) GetCurrent() Results

func (*Server) Serve

func (s *Server) Serve()

func (*Server) ValidSession

func (s *Server) ValidSession() bool

Jump to

Keyboard shortcuts

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