mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2024-11-15 13:41:23 +08:00
16 lines
256 B
Go
16 lines
256 B
Go
package inbound
|
|
|
|
import (
|
|
C "github.com/Dreamacro/clash/constant"
|
|
)
|
|
|
|
type Addition struct {
|
|
InName string
|
|
SpecialRules string
|
|
}
|
|
|
|
func (a Addition) Apply(metadata *C.Metadata) {
|
|
metadata.InName = a.InName
|
|
metadata.SpecialRules = a.SpecialRules
|
|
}
|