Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(inst *instance.Manager, assemblies *assembly.Repository, compiler *planner.Compiler, token string) *Server
NewServer builds a server. The token authenticates every API request that is not the health probe; an empty token leaves the API unauthenticated, which the daemon permits only for a socket-scoped listener and refuses for TCP.
func (*Server) Handler ¶
Handler returns the wrapped request chain, so an in-process consumer sees the same logging, recovery, and authentication as a network client.
func (*Server) StopInstances ¶
func (s *Server) StopInstances()
Click to show internal directories.
Click to hide internal directories.