mirror of
https://github.com/fatedier/frp.git
synced 2026-01-11 22:23:12 +00:00
client, pkg, server, test: replaced 'interface{}' with 'any' (#4611)
This commit is contained in:
@@ -72,7 +72,7 @@ func (p *httpPlugin) IsSupport(op string) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (p *httpPlugin) Handle(ctx context.Context, op string, content interface{}) (*Response, interface{}, error) {
|
||||
func (p *httpPlugin) Handle(ctx context.Context, op string, content any) (*Response, any, error) {
|
||||
r := &Request{
|
||||
Version: APIVersion,
|
||||
Op: op,
|
||||
|
||||
Reference in New Issue
Block a user