forked from deatil/lakego-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
156 changed files
with
463 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,6 +66,7 @@ __debug_bin | |
|
||
# 临时文件 # | ||
###################### | ||
go.sum | ||
tmp/ | ||
.tmp/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,6 +66,7 @@ __debug_bin | |
|
||
# 临时文件 # | ||
###################### | ||
go.sum | ||
tmp/ | ||
.tmp/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,6 +66,7 @@ __debug_bin | |
|
||
# 临时文件 # | ||
###################### | ||
go.sum | ||
tmp/ | ||
.tmp/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,6 +66,7 @@ __debug_bin | |
|
||
# 临时文件 # | ||
###################### | ||
go.sum | ||
tmp/ | ||
.tmp/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,6 +66,7 @@ __debug_bin | |
|
||
# 临时文件 # | ||
###################### | ||
go.sum | ||
tmp/ | ||
.tmp/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,6 +66,7 @@ __debug_bin | |
|
||
# 临时文件 # | ||
###################### | ||
go.sum | ||
tmp/ | ||
.tmp/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,6 +66,7 @@ __debug_bin | |
|
||
# 临时文件 # | ||
###################### | ||
go.sum | ||
tmp/ | ||
.tmp/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,6 +66,7 @@ __debug_bin | |
|
||
# 临时文件 # | ||
###################### | ||
go.sum | ||
tmp/ | ||
.tmp/ | ||
|
||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package ca | ||
|
||
import ( | ||
cryptobin_tool "github.com/deatil/go-cryptobin/tool" | ||
) | ||
|
||
// 添加错误 | ||
func (this CA) AppendError(err ...error) CA { | ||
this.Errors = append(this.Errors, err...) | ||
|
||
return this | ||
} | ||
|
||
// 获取错误 | ||
func (this CA) Error() *cryptobin_tool.Errors { | ||
return cryptobin_tool.NewError(this.Errors...) | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package crypto | ||
|
||
import ( | ||
cryptobin_tool "github.com/deatil/go-cryptobin/tool" | ||
) | ||
|
||
// 添加错误 | ||
func (this Cryptobin) AppendError(err ...error) Cryptobin { | ||
this.Errors = append(this.Errors, err...) | ||
|
||
return this | ||
} | ||
|
||
// 获取错误 | ||
func (this Cryptobin) Error() *cryptobin_tool.Errors { | ||
return cryptobin_tool.NewError(this.Errors...) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
17 changes: 17 additions & 0 deletions
17
pkg/lakego-pkg/go-cryptobin/cryptobin/dh/curve25519/error.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package curve25519 | ||
|
||
import ( | ||
cryptobin_tool "github.com/deatil/go-cryptobin/tool" | ||
) | ||
|
||
// 添加错误 | ||
func (this Curve25519) AppendError(err ...error) Curve25519 { | ||
this.Errors = append(this.Errors, err...) | ||
|
||
return this | ||
} | ||
|
||
// 获取错误 | ||
func (this Curve25519) Error() *cryptobin_tool.Errors { | ||
return cryptobin_tool.NewError(this.Errors...) | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package dh | ||
|
||
import ( | ||
cryptobin_tool "github.com/deatil/go-cryptobin/tool" | ||
) | ||
|
||
// 添加错误 | ||
func (this Dh) AppendError(err ...error) Dh { | ||
this.Errors = append(this.Errors, err...) | ||
|
||
return this | ||
} | ||
|
||
// 获取错误 | ||
func (this Dh) Error() *cryptobin_tool.Errors { | ||
return cryptobin_tool.NewError(this.Errors...) | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package ecdh | ||
|
||
import ( | ||
cryptobin_tool "github.com/deatil/go-cryptobin/tool" | ||
) | ||
|
||
// 添加错误 | ||
func (this Ecdh) AppendError(err ...error) Ecdh { | ||
this.Errors = append(this.Errors, err...) | ||
|
||
return this | ||
} | ||
|
||
// 获取错误 | ||
func (this Ecdh) Error() *cryptobin_tool.Errors { | ||
return cryptobin_tool.NewError(this.Errors...) | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package dsa | ||
|
||
import ( | ||
cryptobin_tool "github.com/deatil/go-cryptobin/tool" | ||
) | ||
|
||
// 添加错误 | ||
func (this DSA) AppendError(err ...error) DSA { | ||
this.Errors = append(this.Errors, err...) | ||
|
||
return this | ||
} | ||
|
||
// 获取错误 | ||
func (this DSA) Error() *cryptobin_tool.Errors { | ||
return cryptobin_tool.NewError(this.Errors...) | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package ecdh | ||
|
||
import ( | ||
cryptobin_tool "github.com/deatil/go-cryptobin/tool" | ||
) | ||
|
||
// 添加错误 | ||
func (this Ecdh) AppendError(err ...error) Ecdh { | ||
this.Errors = append(this.Errors, err...) | ||
|
||
return this | ||
} | ||
|
||
// 获取错误 | ||
func (this Ecdh) Error() *cryptobin_tool.Errors { | ||
return cryptobin_tool.NewError(this.Errors...) | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package ecdsa | ||
|
||
import ( | ||
cryptobin_tool "github.com/deatil/go-cryptobin/tool" | ||
) | ||
|
||
// 添加错误 | ||
func (this Ecdsa) AppendError(err ...error) Ecdsa { | ||
this.Errors = append(this.Errors, err...) | ||
|
||
return this | ||
} | ||
|
||
// 获取错误 | ||
func (this Ecdsa) Error() *cryptobin_tool.Errors { | ||
return cryptobin_tool.NewError(this.Errors...) | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.