mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-12-26 12:15:44 +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
|
|
}
|