This function should look something like:

```go
func (s *DiscoverAgent) Register(args *Args, ret *struct{}) error {
  return s.Backend.Register(args.Name, args.Addr, nil)
}
```