Documentation ¶
Index ¶
- Constants
- func LocalizePassages(passages []server.Passage) (psgs []Passage, manager *Passage)
- func New(valueCtx context.Context, sweetLisaHost *config.Lisa, arg server.Argument) (server.Server, error)
- type Passage
- type Server
- func (s *Server) AddPassages(passages []server.Passage) (err error)
- func (s *Server) Close() error
- func (s *Server) ContentionCheck(thisIP net.IP, passage *Passage) (err error)
- func (s *Server) Listen(addr string) (err error)
- func (s *Server) Passages() (passages []server.Passage)
- func (s *Server) RemovePassages(passages []server.Passage, alsoManager bool) (err error)
- func (s *Server) SyncPassages(passages []server.Passage) (err error)
Constants ¶
View Source
const (
TCPBufferSize = 32 * 1024
)
Variables ¶
This section is empty.
Functions ¶
func LocalizePassages ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) ContentionCheck ¶
func (*Server) RemovePassages ¶
Click to show internal directories.
Click to hide internal directories.