Versions in this module Expand all Collapse all v0 v0.1.0 May 27, 2024 Changes in this version + type JobRequest struct + Background bool + Callback JobUpdateCallback + Data []byte + FuncName string + ID string + type JobUpdate struct + Data []byte + Handle string + Status [2]int + Type JobUpdateType + func (u JobUpdate) Failed() bool + func (u JobUpdate) Succeeded() bool + type JobUpdateCallback func(update JobUpdate) + type JobUpdateType int + const JobUpdateTypeComplete + const JobUpdateTypeData + const JobUpdateTypeException + const JobUpdateTypeFail + const JobUpdateTypeStatus + const JobUpdateTypeWarning + func (t JobUpdateType) String() string + type Server struct + func NewServer(ln net.Listener) *Server + func NewServerWithAddr(addr string) (*Server, error) + func (s *Server) Addr() *net.TCPAddr + func (s *Server) Stop() + func (s *Server) Submit(r *JobRequest) string