trpc.group/trpc-go/trpc-go@v1.0.3/client/client_nolinux.go (about)

     1  //go:build !(linux && amd64)
     2  // +build !linux !amd64
     3  
     4  package client
     5  
     6  import "trpc.group/trpc-go/trpc-go/transport"
     7  
     8  func attemptSwitchingTransport(o *Options) transport.ClientTransport {
     9  	if o.Transport == nil {
    10  		return transport.DefaultClientTransport
    11  	}
    12  	return o.Transport
    13  }