Style: cleanup code

This commit is contained in:
Dreamacro
2021-03-24 01:00:21 +08:00
parent 807d53c1e7
commit d759d16944
9 changed files with 40 additions and 50 deletions

View File

@ -45,15 +45,15 @@ func (ps *Process) Match(metadata *C.Metadata) bool {
return strings.EqualFold(cached.(string), ps.process)
}
func (p *Process) Adapter() string {
return p.adapter
func (ps *Process) Adapter() string {
return ps.adapter
}
func (p *Process) Payload() string {
return p.process
func (ps *Process) Payload() string {
return ps.process
}
func (p *Process) ShouldResolveIP() bool {
func (ps *Process) ShouldResolveIP() bool {
return false
}