Permalink
Browse files

Add mutex methods to session

  • Loading branch information...
1 parent 246e725 commit 0bac26f3eec6d3267bd0e5384706a5383d665998 @brendonh committed Aug 26, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 types.go
View
@@ -32,6 +32,9 @@ type Session interface {
ID() string
User() User
SetUser(User)
+
+ Lock()
+ Unlock()
}
type BasicSession struct {

0 comments on commit 0bac26f

Please sign in to comment.