token.go 280 B

1234567891011
  1. // Copyright 2017 Frédéric Guillot. All rights reserved.
  2. // Use of this source code is governed by the Apache 2.0
  3. // license that can be found in the LICENSE file.
  4. package model
  5. // Token represents a CSRF token in the system.
  6. type Token struct {
  7. ID string
  8. Value string
  9. }