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: remote_api_client.go
    path of file: ./repos/marketstore/cmd/connect/session
    
    the code of the file until where you have to start completion: package session

import (
	"fmt"
	"os"
	"time"

	"github.com/alpacahq/marketstore/v4/frontend"
	"github.com/alpacahq/marketstore/v4/planner"
	"github.com/alpacahq/marketstore/v4/utils/io"
)

// NewRemoteAPIClient generates a new client struct.
func NewRemoteAPIClient(url string, client RPCClient) *RemoteAPIClient {
	return &RemoteAPIClient{url: url, rpcClient: client}
}

// RemoteAPIClient represents an agent that manages a database
// connection and parses/executes the statements s
    
func (rc *RemoteAPIClient) Show(tbk *io.TimeBucketKey, start, end *time.Time) (csm io.ColumnSeriesMap, err error) {
	if end == nil {
		t := planner.MaxTime
		end = &t
	}
	epochStart := start.UTC().Unix()
	epochEnd := end.UTC().Unix()
	req := frontend.QueryRequest{
		IsSQLStatement: false,
		SQLStatement:   "",
		Destination:    tbk.String(),
		EpochStart:     &epochStart,
		EpochEnd:       &epochEnd,
	}
	args := &frontend.MultiQueryRequest{
		Requests: []frontend.QueryRequest{req},
	}

	respI, err := rc.rpcClient.DoRPC("Query", args)
	if err != nil {
		return nil, fmt.Errorf("DoRPC:Query error:%w", err)
	}

	if respI == nil {
		return io.ColumnSeriesMap{}, nil
	}

	val, ok := respI.(*io.ColumnSeriesMap)
	if !ok {
		return nil, fmt.Errorf("[bug] unexpected data type returned from DoRPC:Query func. resp=%v",
			respI)
	}
	return *val, nil
}