Versions in this module Expand all Collapse all v0 v0.17.1 Mar 3, 2017 v0.17.0 Mar 2, 2017 Changes in this version + const DMAPPEND + const DMAUTH + const DMDEVICE + const DMDIR + const DMEXCL + const DMEXEC + const DMLINK + const DMMOUNT + const DMNAMEDPIPE + const DMREAD + const DMSETGID + const DMSETUID + const DMSOCKET + const DMSYMLINK + const DMTMP + const DMWRITE + const EEXIST + const EINVAL + const EIO + const ENOENT + const ENOTDIR + const EPERM + const IOHDRSZ + const MSIZE + const NOFID + const NOTAG + const NOUID + const OCEXEC + const OEXEC + const ORCLOSE + const ORDWR + const OREAD + const OTRUNC + const OWRITE + const PORT + const QTAPPEND + const QTAUTH + const QTDIR + const QTEXCL + const QTFILE + const QTLINK + const QTMOUNT + const QTSYMLINK + const QTTMP + const Rattach + const Rauth + const Rclunk + const Rcreate + const Rerror + const Rflush + const Ropen + const Rread + const Rremove + const Rstat + const Rversion + const Rwalk + const Rwrite + const Rwstat + const Tattach + const Tauth + const Tclunk + const Tcreate + const Terror + const Tflush + const Tlast + const Topen + const Tread + const Tremove + const Tstat + const Tversion + const Twalk + const Twrite + const Twstat + var OsUsers *osUsers + func Gint32(buf []byte) (uint32, []byte) + func InitRread(fc *Fcall, count uint32) error + func PackDir(d *Dir, buf []byte, dotu bool) int + func PackRattach(fc *Fcall, aqid *Qid) error + func PackRauth(fc *Fcall, aqid *Qid) error + func PackRclunk(fc *Fcall) error + func PackRcreate(fc *Fcall, qid *Qid, iounit uint32) error + func PackRerror(fc *Fcall, error string, errornum uint32, dotu bool) error + func PackRflush(fc *Fcall) error + func PackRopen(fc *Fcall, qid *Qid, iounit uint32) error + func PackRread(fc *Fcall, data []byte) error + func PackRremove(fc *Fcall) error + func PackRstat(fc *Fcall, d *Dir, dotu bool) error + func PackRversion(fc *Fcall, msize uint32, version string) error + func PackRwalk(fc *Fcall, wqids []Qid) error + func PackRwrite(fc *Fcall, count uint32) error + func PackRwstat(fc *Fcall) error + func PackTattach(fc *Fcall, fid uint32, afid uint32, uname string, aname string, ...) error + func PackTauth(fc *Fcall, fid uint32, uname string, aname string, unamenum uint32, dotu bool) error + func PackTclunk(fc *Fcall, fid uint32) error + func PackTcreate(fc *Fcall, fid uint32, name string, perm uint32, mode uint8, ext string, ...) error + func PackTflush(fc *Fcall, oldtag uint16) error + func PackTopen(fc *Fcall, fid uint32, mode uint8) error + func PackTread(fc *Fcall, fid uint32, offset uint64, count uint32) error + func PackTremove(fc *Fcall, fid uint32) error + func PackTstat(fc *Fcall, fid uint32) error + func PackTversion(fc *Fcall, msize uint32, version string) error + func PackTwalk(fc *Fcall, fid uint32, newfid uint32, wnames []string) error + func PackTwrite(fc *Fcall, fid uint32, offset uint64, count uint32, data []byte) error + func PackTwstat(fc *Fcall, fid uint32, d *Dir, dotu bool) error + func SetRreadCount(fc *Fcall, count uint32) + func SetTag(fc *Fcall, tag uint16) + type Dir struct + Atime uint32 + Dev uint32 + Ext string + Gid string + Gidnum uint32 + Length uint64 + Mode uint32 + Mtime uint32 + Muid string + Muidnum uint32 + Name string + Size uint16 + Type uint16 + Uid string + Uidnum uint32 + func UnpackDir(buf []byte, dotu bool) (d *Dir, err error) + func (d *Dir) String() string + type Error struct + Err string + Errornum uint32 + func (err *Error) Error() string + type Fcall struct + Afid uint32 + Aname string + Buf []uint8 + Count uint32 + Data []uint8 + Error string + Errornum uint32 + Ext string + Fid uint32 + Iounit uint32 + Mode uint8 + Msize uint32 + Name string + Newfid uint32 + Offset uint64 + Oldtag uint16 + Perm uint32 + Pkt []uint8 + Size uint32 + Tag uint16 + Type uint8 + Uname string + Unamenum uint32 + Version string + Wname []string + Wqid []Qid + func NewFcall(sz uint32) *Fcall + func Unpack(buf []byte, dotu bool) (fc *Fcall, err error, fcsz int) + func (fc *Fcall) String() string + type Group interface + Id func() int + Members func() []User + Name func() string + type Log struct + Data interface{} + Owner interface{} + Type int + type Logger struct + func NewLogger(sz int) *Logger + func (l *Logger) Filter(owner interface{}, itype int) []*Log + func (l *Logger) Log(data, owner interface{}, itype int) + func (l *Logger) Resize(sz int) + type Qid struct + Path uint64 + Type uint8 + Version uint32 + func (qid *Qid) String() string + type User interface + Groups func() []Group + Id func() int + IsMember func(g Group) bool + Name func() string + type Users interface + Gid2Group func(gid int) Group + Gname2Group func(gname string) Group + Uid2User func(uid int) User + Uname2User func(uname string) User