Documentation ¶ Overview ¶ Package rpctest provides utilities for RPC testing. Index ¶ type Server func NewFileServer(t *testing.T, filename string) *Server func NewServer(t *testing.T, r io.Reader) *Server func (srv *Server) Close() func (srv *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) func (srv *Server) URL() string 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 NewFileServer ¶ func NewFileServer(t *testing.T, filename string) *Server func NewServer ¶ func NewServer(t *testing.T, r io.Reader) *Server func (*Server) Close ¶ func (srv *Server) Close() func (*Server) ServeHTTP ¶ func (srv *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) func (*Server) URL ¶ func (srv *Server) URL() string Source Files ¶ View all Source files server.go Click to show internal directories. Click to hide internal directories.