mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-29 05:56:38 +08:00
35 lines
1.0 KiB
Go
35 lines
1.0 KiB
Go
/*
|
|
Copyright 2025 linux.do
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
package main
|
|
|
|
import "github.com/linux-do/credit/internal/cmd"
|
|
|
|
// @title LINUX DO Credit
|
|
// @version 1.0.0
|
|
// @description LINUX DO Credit 平台后端 API,提供用户认证、商户 API Key 管理、系统配置等功能。
|
|
// @contact.name LINUX DO Credit
|
|
// @contact.url https://linux.do
|
|
// @license.name Apache 2.0
|
|
// @license.url http://www.apache.org/licenses/LICENSE-2.0.html
|
|
// @BasePath /
|
|
// @securityDefinitions.apikey SessionCookie
|
|
// @in cookie
|
|
// @name session
|
|
func main() {
|
|
cmd.Execute()
|
|
}
|