Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewURLValues (0.06 sec)

  1. internal/grid/types.go

    type URLValues map[string][]string
    
    var urlValuesPool = sync.Pool{
    	New: func() interface{} {
    		return make(map[string][]string, 10)
    	},
    }
    
    // NewURLValues returns a new URLValues.
    func NewURLValues() *URLValues {
    	u := URLValues(urlValuesPool.Get().(map[string][]string))
    	return &u
    }
    
    // NewURLValuesWith returns a new URLValues with the provided content.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. cmd/peer-rest-server.go

    	getBandwidthRPC                = grid.NewSingleHandler[*grid.URLValues, *bandwidth.BucketBandwidthReport](grid.HandlerGetBandwidth, grid.NewURLValues, func() *bandwidth.BucketBandwidthReport { return &bandwidth.BucketBandwidthReport{} })
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top