Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewURLValues (0.14 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 Oct 27 19:28:09 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 Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top