mirror of
https://github.com/chainreactors/spray.git
synced 2025-05-06 10:41:21 +00:00
14 lines
223 B
Go
14 lines
223 B
Go
package pkg
|
|
|
|
import (
|
|
"github.com/chainreactors/files"
|
|
"github.com/chainreactors/parsers"
|
|
)
|
|
|
|
func LoadConfig(typ string) []byte {
|
|
if typ == "http" {
|
|
return files.UnFlate(parsers.Base64Decode(""))
|
|
}
|
|
return []byte{}
|
|
}
|