v1

package
v0.0.0-...-2785c07 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start()

Types

type MessageBroker

type MessageBroker struct {
	Conn    *amqp.Connection
	Channel *amqp.Channel
}

func NewMessageBroker

func NewMessageBroker() *MessageBroker

func (*MessageBroker) Run

func (mb *MessageBroker) Run(s service) error

type Server

type Server struct{}

func NewServer

func NewServer() *Server

func (*Server) Create

func (s *Server) Create(rawIn []byte) ([]byte, error)

func (*Server) Delete

func (s *Server) Delete(rawIn []byte) ([]byte, error)

func (*Server) Get

func (s *Server) Get(rawIn []byte) ([]byte, error)

func (*Server) List

func (s *Server) List(rawIn []byte) ([]byte, error)

func (*Server) Update

func (s *Server) Update(rawIn []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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