module

package module
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 13, 2023 License: MIT Imports: 15 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) SetLogger

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

func (*Server) SetNats

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

func (*Server) SetRegistry added in v0.0.4

func (s *Server) SetRegistry(r *discovery.Registry)

SetRegistry @todo replace with interface

Directories

Path Synopsis
internal
pkg
tools

Jump to

Keyboard shortcuts

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