server

package
v0.0.0-...-6d66bbc Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StateDataProductSubjectPrefix  = "$RAINFOREST.DP.STATE."
	EventDataProductSubjectPrefix  = "$RAINFOREST.DP.EVENT."
	SourceDataProductSubjectPrefix = "$RAINFOREST.DP.SOURCE."

	StateDataProductPrefix  = "STATE_"
	EventDataProductPrefix  = "EVENT_"
	SourceDataProductPrefix = "SOURCE_"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func NewServer

func NewServer(nc *nats.Conn, cfg config.Config) *Server

func (*Server) CreateDataProduct

func (s *Server) CreateDataProduct(m *nats.Msg)

func (*Server) DeleteDataProduct

func (s *Server) DeleteDataProduct(m *nats.Msg)

TODO:

func (*Server) InfoDataProduct

func (s *Server) InfoDataProduct(m *nats.Msg)

TODO:

func (*Server) ListDataProducts

func (s *Server) ListDataProducts(m *nats.Msg)

TODO

func (*Server) Start

func (s *Server) Start()

func (*Server) UpdateDataProduct

func (s *Server) UpdateDataProduct(m *nats.Msg)

TODO:

Jump to

Keyboard shortcuts

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