/server/exts/session.go

http://github.com/petar/GoHTTP · Go · 23 lines · 14 code · 6 blank · 3 comment · 0 complexity · 007f9b13247459f4fd4839f7ca18b773 MD5 · raw file

  1. // Copyright 2009 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. package exts
  5. import (
  6. "path"
  7. "github.com/petar/GoHTTP/http"
  8. "github.com/petar/GoHTTP/server"
  9. )
  10. type Session struct {
  11. }
  12. func NewSession() *Session {
  13. }
  14. func (s *Session) ReadRequest(req *http.Request, ext map[string]interface{}) os.Error {
  15. }
  16. func (s *Session) WriteResponse(resp *http.Response, ext map[string]interface{}) os.Error {
  17. }