13e73124a2f14ee5988a6f53a29f97e0836dc3ea
mapping lun and fix portal management
gotgt 
Simple Golang SCSI Target framework, this includes two binaries, one is citadm which is command line to config and control, the other is citd which is a target daemon.
Build
$ mkdir $GOPATH/src/github.com/gotstor/
$ cd $GOPATH/src/github.com/gostor/
$ git clone https://github.com/gostor/gotgt gotgt
$ cd gotgt
$ ./autogen.sh
$ ./configure
$ make
Test
You can test this with libiscsi.
build the test tool of libiscsi
$ git clone https://github.com/gostor/libiscsi
$ cd libiscsi
$ ./autogen.sh
$ ./configure
$ make
start the gotgt daemon
$ ./citd
begin the test
$ ./iscsi-test-cu -v iscsi://127.0.0.1:3260/iqn.test.haha/0
Description
Languages
Go
96.1%
Shell
3.5%
Dockerfile
0.2%
Makefile
0.2%