summaryrefslogtreecommitdiffstats
path: root/modules/web/types/response.go
blob: 834f4912f4d16bc44db28c72f0d6c01f9b4734fc (plain)
1
2
3
4
5
6
7
8
9
10
// Copyright 2023 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT

package types

// ResponseStatusProvider is an interface to get the written status in the response
// Many packages need this interface, so put it in the separate package to avoid import cycle
type ResponseStatusProvider interface {
	WrittenStatus() int
}