go-mdd

module
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: MIT

README

Matrixx Domain Data

Installation

To install the MDD library, add the following import statement to your Go code:

import "github.com/matrixxsoftware/go-mdd"

Then, run the following command to fetch the library:

go get -u github.com/matrixxsoftware/go-mdd@latest

Example

Server

	server, err := mdd.NewServer("localhost:8080", codec)
	if err != nil {
		panic(err)
	}
	defer server.Close()

	server.Handler(func(containers *mdd.Containers) *mdd.Containers {
        ... 
        // return response containers
	})

Client

	client, err := mdd.NewClient("localhost:8080", codec)
	if err != nil {
		panic(err)
	}
	defer client.Close()

	request := mdd.Containers{}

	response, err := client.SendMessage(&request)
	if err != nil {
		panic(err)
	}

Directories

Path Synopsis
transport
tcp

Jump to

Keyboard shortcuts

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