ec964881b5d8ec791d43f9b019684709463eec56
add r2t response into iscsiExecR2T function
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%