You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

response.go 347B

12345678910
  1. // Copyright 2023 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. package types
  4. // ResponseStatusProvider is an interface to get the written status in the response
  5. // Many packages need this interface, so put it in the separate package to avoid import cycle
  6. type ResponseStatusProvider interface {
  7. WrittenStatus() int
  8. }