aboutsummaryrefslogtreecommitdiffstats
path: root/modules/session/store.go
blob: 529187d3be8742bc3e3dc81e506b11428539e3ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2020 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.

package session

// Store represents a session store
type Store interface {
	Get(interface{}) interface{}
	Set(interface{}, interface{}) error
	Delete(interface{}) error
}