Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PopulateTagsMap (0.08 sec)

  1. internal/logger/reqinfo.go

    	}
    	r.RLock()
    	defer r.RUnlock()
    	m := make(map[string]string, len(r.tags))
    	for _, t := range r.tags {
    		m[t.Key] = t.Val
    	}
    	return m
    }
    
    // PopulateTagsMap - returns the user defined tags in a map structure
    func (r *ReqInfo) PopulateTagsMap(tagsMap map[string]string) {
    	if r == nil {
    		return
    	}
    	if tagsMap == nil {
    		return
    	}
    	r.RLock()
    	defer r.RUnlock()
    	for _, t := range r.tags {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top