You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
366 B
18 lines
366 B
package archive |
|
|
|
import ( |
|
"context" |
|
) |
|
|
|
// AddNetSafeMd5 fn |
|
func (s *Service) AddNetSafeMd5(c context.Context, nid int64, md5 string) (err error) { |
|
err = s.arc.AddNetSafeMd5(c, nid, md5) |
|
go s.NotifyNetSafe(c, nid) |
|
return |
|
} |
|
|
|
// NotifyNetSafe fn |
|
func (s *Service) NotifyNetSafe(c context.Context, nid int64) (err error) { |
|
_ = s.arc.NotifyNetSafe(c, nid) |
|
return |
|
}
|
|
|