Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for StoreUint32 (0.14 sec)

  1. internal/logger/target/http/http.go

    	return nil
    }
    
    func (h *Target) send(ctx context.Context, payload []byte, payloadType string, timeout time.Duration) (err error) {
    	defer func() {
    		if err != nil {
    			atomic.StoreInt32(&h.status, statusOffline)
    		} else {
    			atomic.StoreInt32(&h.status, statusOnline)
    		}
    	}()
    
    	ctx, cancel := context.WithTimeout(ctx, timeout)
    	defer cancel()
    	req, err := http.NewRequestWithContext(ctx, http.MethodPost,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
Back to top