/dp2-go

A golang module for dp2.

Primary LanguageGo

What's this ?

A Golang module for dp2.

How to use ?

go get github.com/lym12321/dp2-go

For Example

package main

import (
	"fmt"

	"github.com/lym12321/dp2-go/dp2"
)

func main() {
	server := "http://your_dp2_server/dp2library/rest"
	username := "your_username"
	password := "your_password"
	var Session string
	var api dp2.Method = dp2.SystemConfig{ServiceUrl: server, Dp2Username: username, Dp2Password: password, Session: &Session}
	// do something...
}