module

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: MIT Imports: 16 Imported by: 0

README

Module

All-in-one library to run and build Tiny Systems modules.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func New

func New(config *module.RunnerConfig, errChan chan error) *Server

func (*Server) InstallComponent

func (s *Server) InstallComponent(ctx context.Context, info m.Info, c m.Component) error

func (*Server) Run

func (s *Server) Run(ctx context.Context) error

func (*Server) RunInstance

func (s *Server) RunInstance(conf *module.ConfigureInstanceRequest)

func (*Server) SetDiscovery

func (s *Server) SetDiscovery(d client.Discovery)

func (*Server) SetLogger

func (s *Server) SetLogger(l zerolog.Logger)

func (*Server) SetNats

func (s *Server) SetNats(n *nats.Conn)

Jump to

Keyboard shortcuts

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