MCPcopy Index your code
hub / github.com/google/seesaw / newDestinationKey

Function newDestinationKey

engine/vserver.go:172–174  ·  view source on GitHub ↗

newDestinationKey returns a new destinationKey.

(ip net.IP)

Source from the content-addressed store, hash-verified

170
171// newDestinationKey returns a new destinationKey.
172func newDestinationKey(ip net.IP) destinationKey {
173 return destinationKey{seesaw.NewIP(ip)}
174}
175
176// destination contains the running state for a vserver destination.
177type destination struct {

Callers 2

vserver_test.goFile · 0.85
expandDestsMethod · 0.85

Calls 1

NewIPFunction · 0.92

Tested by

no test coverage detected