aboutsummaryrefslogtreecommitdiffstats
path: root/modules/structs/secret.go
blob: 6a41db4cd2f58fbbe398a0b18a4a2a542b91649b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2023 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT

package structs

import "time"

// User represents a secret
// swagger:model
type Secret struct {
	// the secret's name
	Name string `json:"name"`
	// swagger:strfmt date-time
	Created time.Time `json:"created_at"`
}