aboutsummaryrefslogtreecommitdiff
path: root/model/token.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/token.go')
-rw-r--r--model/token.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/model/token.go b/model/token.go
deleted file mode 100644
index 3c5c3232..00000000
--- a/model/token.go
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright 2017 Frédéric Guillot. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
-
-package model
-
-import "fmt"
-
-// Token represents a CSRF token in the system.
-type Token struct {
- ID string
- Value string
-}
-
-func (t Token) String() string {
- return fmt.Sprintf(`ID="%s"`, t.ID)
-}