Documentation
¶
Index ¶
- type AttrFactory
- type AttrNode
- type Channel
- type DirCreator
- type DirNode
- func NewChannelDir(parent *DirNode, id string, priv interface{}) (*DirNode, error)
- func NewDirNode(parent *DirNode, name string, priv interface{}) (*DirNode, error)
- func NewGroupDir(parent *DirNode, id string, priv interface{}) (*DirNode, error)
- func NewIMDir(parent *DirNode, id string, priv interface{}) (*DirNode, error)
- func NewTeamDir(parent *DirNode, id string, priv interface{}) (*DirNode, error)
- func NewUserDir(parent *DirNode, id string, priv interface{}) (*DirNode, error)
- type DirOwner
- type DirSet
- type EventHandler
- type FSConn
- type Group
- type HistoryFn
- type IM
- type INode
- type Node
- type ProfInstance
- type Room
- type RoomSet
- type Self
- type Sequence
- type Session
- func (s *Session) Bytes(offset int64, size int) ([]byte, error)
- func (s *Session) CurrLen() uint64
- func (s *Session) Event(evt slack.SlackEvent) bool
- func (s *Session) FetchHistory(hp slack.HistoryParameters) error
- func (s *Session) Init(room Room, conn *FSConn, history HistoryFn)
- func (s *Session) Write(msg []byte) error
- type SessionAttrNode
- func (an *SessionAttrNode) Activate() error
- func (an *SessionAttrNode) Attr(a *fuse.Attr)
- func (n *SessionAttrNode) Dirent() fuse.Dirent
- func (an *SessionAttrNode) Getattr(ctx context.Context, req *fuse.GetattrRequest, resp *fuse.GetattrResponse) error
- func (an *SessionAttrNode) IsDir() bool
- func (an *SessionAttrNode) Read(ctx context.Context, req *fuse.ReadRequest, resp *fuse.ReadResponse) error
- type SessionProvider
- type SessionWriter
- type Super
- type SymlinkNode
- type Team
- type Updater
- type User
- type UserSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttrFactory ¶
type AttrNode ¶
type AttrNode struct { Node // contains filtered or unexported fields }
func NewAttrNode ¶
type Channel ¶
func (*Channel) BaseChannel ¶
func (c *Channel) BaseChannel() *slack.BaseChannel
type DirCreator ¶
DirCreator matches the signature of New{Channel,Group,IM}Dir
type DirNode ¶
type DirNode struct { Node // contains filtered or unexported fields }
func NewChannelDir ¶
type DirSet ¶
type DirSet struct {
// contains filtered or unexported fields
}
type EventHandler ¶
type EventHandler interface {
Event(evt slack.SlackEvent) (handled bool)
}
type FSConn ¶
type FSConn struct { Super *Super // contains filtered or unexported fields }
func NewOfflineFSConn ¶
type Group ¶
func (*Group) BaseChannel ¶
func (g *Group) BaseChannel() *slack.BaseChannel
type IM ¶
func (*IM) BaseChannel ¶
func (im *IM) BaseChannel() *slack.BaseChannel
type ProfInstance ¶
type ProfInstance struct {
// contains filtered or unexported fields
}
func NewProf ¶
func NewProf(memprof, cpuprof string) (p *ProfInstance, err error)
func (*ProfInstance) Start ¶
func (p *ProfInstance) Start()
startProfiling enables memory and/or CPU profiling if the appropriate command line flags have been set.
func (*ProfInstance) Stop ¶
func (p *ProfInstance) Stop()
type Room ¶
type Room interface { EventHandler Id() string Name() string IsOpen() bool BaseChannel() *slack.BaseChannel }
type RoomSet ¶
func NewRoomSet ¶
type Session ¶
func (*Session) FetchHistory ¶
func (s *Session) FetchHistory(hp slack.HistoryParameters) error
type SessionAttrNode ¶
func (*SessionAttrNode) Activate ¶
func (an *SessionAttrNode) Activate() error
func (*SessionAttrNode) Attr ¶
func (an *SessionAttrNode) Attr(a *fuse.Attr)
func (*SessionAttrNode) Dirent ¶
func (n *SessionAttrNode) Dirent() fuse.Dirent
func (*SessionAttrNode) Getattr ¶
func (an *SessionAttrNode) Getattr(ctx context.Context, req *fuse.GetattrRequest, resp *fuse.GetattrResponse) error
func (*SessionAttrNode) IsDir ¶
func (an *SessionAttrNode) IsDir() bool
func (*SessionAttrNode) Read ¶
func (an *SessionAttrNode) Read(ctx context.Context, req *fuse.ReadRequest, resp *fuse.ReadResponse) error
type SessionProvider ¶
type SessionWriter ¶
type Super ¶
type Super struct {
// contains filtered or unexported fields
}
func (*Super) NextInodeNum ¶
type SymlinkNode ¶
type SymlinkNode struct { Node // contains filtered or unexported fields }
func NewSymlinkNode ¶
func NewSymlinkNode(parent *DirNode, name string, target INode) (*SymlinkNode, error)
func (*SymlinkNode) Activate ¶
func (sn *SymlinkNode) Activate() error
func (*SymlinkNode) Attr ¶
func (sn *SymlinkNode) Attr(a *fuse.Attr)
func (*SymlinkNode) Dirent ¶
func (n *SymlinkNode) Dirent() fuse.Dirent
func (*SymlinkNode) IsDir ¶
func (sn *SymlinkNode) IsDir() bool
func (*SymlinkNode) Readlink ¶
func (sn *SymlinkNode) Readlink(ctx context.Context, req *fuse.ReadlinkRequest) (string, error)
type UserSet ¶
func NewUserSet ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.