github.com/cyverse/go-irodsclient@v0.13.2/irods/types/process.go (about) 1 package types 2 3 import ( 4 "fmt" 5 "time" 6 ) 7 8 // IRODSProcess contains irods process information 9 type IRODSProcess struct { 10 ID int64 11 StartTime time.Time 12 ProxyUser string 13 ProxyZone string 14 ClientUser string 15 ClientZone string 16 ClientAddress string 17 ServerAddress string 18 ClientProgram string 19 } 20 21 // ToString stringifies the object 22 func (obj *IRODSProcess) ToString() string { 23 return fmt.Sprintf("<IRODSProcess %d %s %s#%s %s#%s %s %s %s>", obj.ID, obj.StartTime, obj.ProxyUser, obj.ProxyZone, obj.ClientUser, obj.ClientZone, obj.ClientAddress, obj.ServerAddress, obj.ClientProgram) 24 }