選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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. }