github.com/la5nta/wl2k-go@v0.11.8/transport/ardop/addr.go (about)

     1  // Copyright 2015 Martin Hebnes Pedersen (LA5NTA). All rights reserved.
     2  // Use of this source code is governed by the MIT-license that can be
     3  // found in the LICENSE file.
     4  
     5  package ardop
     6  
     7  const network = "ardop"
     8  
     9  type Addr struct{ string }
    10  
    11  func (a Addr) Network() string { return network }
    12  func (a Addr) String() string {
    13  	return a.string
    14  }