mirror of
https://github.com/infinite-iroha/touka.git
synced 2026-02-03 17:01:11 +08:00
Compare commits
No commits in common. "e77fcb10d3e66adfe393df98e2f08a36c86a7e14" and "6b3f3335ab53578d122a9e999794dcb22160ba39" have entirely different histories.
e77fcb10d3
...
6b3f3335ab
19 changed files with 2 additions and 1145 deletions
11
.github/dependabot.yml
vendored
11
.github/dependabot.yml
vendored
|
|
@ -1,11 +0,0 @@
|
||||||
# To get started with Dependabot version updates, you'll need to specify which
|
|
||||||
# package ecosystems to update and where the package manifests are located.
|
|
||||||
# Please see the documentation for all configuration options:
|
|
||||||
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
|
|
||||||
|
|
||||||
version: 2
|
|
||||||
updates:
|
|
||||||
- package-ecosystem: "gomod" # See documentation for possible values
|
|
||||||
directory: "/" # Location of package manifests
|
|
||||||
schedule:
|
|
||||||
interval: "daily"
|
|
||||||
24
.github/workflows/test.yml
vendored
24
.github/workflows/test.yml
vendored
|
|
@ -1,24 +0,0 @@
|
||||||
name: Go Test
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- '*'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Go
|
|
||||||
uses: actions/setup-go@v5
|
|
||||||
with:
|
|
||||||
go-version: '1.24'
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: go test -v ./...
|
|
||||||
|
|
||||||
- name: Run tests race
|
|
||||||
run: go test -race -v ./...
|
|
||||||
|
|
@ -1,7 +1,4 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this
|
// 文件: touka/adapter.go
|
||||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
||||||
// Copyright 2024 WJQSERVER. All rights reserved.
|
|
||||||
// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization.
|
|
||||||
package touka
|
package touka
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,3 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
||||||
// Copyright 2024 WJQSERVER. All rights reserved.
|
|
||||||
// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization.
|
|
||||||
package touka
|
package touka
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
4
ecw.go
4
ecw.go
|
|
@ -1,7 +1,3 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
||||||
// Copyright 2024 WJQSERVER. All rights reserved.
|
|
||||||
// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization.
|
|
||||||
package touka
|
package touka
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,3 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
||||||
// Copyright 2024 WJQSERVER. All rights reserved.
|
|
||||||
// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization.
|
|
||||||
package touka
|
package touka
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,3 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
||||||
// Copyright 2024 WJQSERVER. All rights reserved.
|
|
||||||
// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization.
|
|
||||||
package touka
|
package touka
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
||||||
BSD 3-Clause License
|
|
||||||
|
|
||||||
Copyright (c) 2013, Julien Schmidt
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
|
||||||
modification, are permitted provided that the following conditions are met:
|
|
||||||
|
|
||||||
1. Redistributions of source code must retain the above copyright notice, this
|
|
||||||
list of conditions and the following disclaimer.
|
|
||||||
|
|
||||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
||||||
this list of conditions and the following disclaimer in the documentation
|
|
||||||
and/or other materials provided with the distribution.
|
|
||||||
|
|
||||||
3. Neither the name of the copyright holder nor the names of its
|
|
||||||
contributors may be used to endorse or promote products derived from
|
|
||||||
this software without specific prior written permission.
|
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
||||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
||||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
||||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
||||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
||||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
||||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
||||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
|
@ -1,7 +1,3 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
||||||
// Copyright 2024 WJQSERVER. All rights reserved.
|
|
||||||
// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization.
|
|
||||||
package touka
|
package touka
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,3 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
||||||
// Copyright 2024 WJQSERVER. All rights reserved.
|
|
||||||
// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization.
|
|
||||||
package touka
|
package touka
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,3 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
||||||
// Copyright 2024 WJQSERVER. All rights reserved.
|
|
||||||
// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization.
|
|
||||||
package touka
|
package touka
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,3 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
||||||
// Copyright 2024 WJQSERVER. All rights reserved.
|
|
||||||
// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization.
|
|
||||||
package touka
|
package touka
|
||||||
|
|
||||||
type MiddlewareXFunc func() HandlerFunc
|
type MiddlewareXFunc func() HandlerFunc
|
||||||
|
|
|
||||||
4
path.go
4
path.go
|
|
@ -1,7 +1,3 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
||||||
// Copyright 2024 WJQSERVER. All rights reserved.
|
|
||||||
// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization.
|
|
||||||
package touka
|
package touka
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,4 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this
|
// 文件: touka/recovery.go
|
||||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
||||||
// Copyright 2024 WJQSERVER. All rights reserved.
|
|
||||||
// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization.
|
|
||||||
package touka
|
package touka
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
4
respw.go
4
respw.go
|
|
@ -1,7 +1,3 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
||||||
// Copyright 2024 WJQSERVER. All rights reserved.
|
|
||||||
// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization.
|
|
||||||
package touka
|
package touka
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
4
serve.go
4
serve.go
|
|
@ -1,7 +1,3 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
||||||
// Copyright 2024 WJQSERVER. All rights reserved.
|
|
||||||
// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization.
|
|
||||||
package touka
|
package touka
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,3 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
||||||
// Copyright 2024 WJQSERVER. All rights reserved.
|
|
||||||
// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization.
|
|
||||||
package touka
|
package touka
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
4
touka.go
4
touka.go
|
|
@ -1,7 +1,3 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
||||||
// Copyright 2024 WJQSERVER. All rights reserved.
|
|
||||||
// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization.
|
|
||||||
package touka
|
package touka
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
1021
tree_test.go
1021
tree_test.go
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue