Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add mutex methods to session

  • Loading branch information...
commit 0bac26f3eec6d3267bd0e5384706a5383d665998 1 parent 246e725
@brendonh authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  types.go
View
3  types.go
@@ -32,6 +32,9 @@ type Session interface {
ID() string
User() User
SetUser(User)
+
+ Lock()
+ Unlock()
}
type BasicSession struct {
Please sign in to comment.
Something went wrong with that request. Please try again.