You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: logs_pusher.go
    path of file: ./repos/magma/dp/cloud/go/services/dp/logs_pusher
    
    the code of the file until where you have to start completion: package logs_pusher

import (
	"context"
	"encoding/json"
	"net/http"
	"strings"
)

type DPLog struct {
	EventTimestamp   int64  `json:"event_timestamp"`
	LogFrom          string `json:"log_from"`
	LogTo            string `json:"log_to"`
	LogName          string `json:"log_name"`
	LogMessage       string `json:"lo
    
func PushDPLog(ctx context.Context, log *DPLog, consumerUrl string) error {
	client := http.Client{}
	body, _ := json.Marshal(log)
	req, _ := http.NewRequest(http.MethodPost, consumerUrl, strings.NewReader(string(body)))
	req.Header.Set("contentType", "application/json")
	_, err := client.Do(req.WithContext(ctx))
	if err != nil {
		return err
	}
	return nil
}