// Code generated by sdkgen. DO NOT EDIT.

package mcpgateway

import (
	"context"

	"google.golang.org/grpc"
)

// McpGateway provides access to "mcpgateway" component of Yandex.Cloud
type McpGateway struct {
	getConn func(ctx context.Context) (*grpc.ClientConn, error)
}

// NewMcpGateway creates instance of McpGateway
func NewMcpGateway(g func(ctx context.Context) (*grpc.ClientConn, error)) *McpGateway {
	return &McpGateway{g}
}

// McpGateway gets McpGatewayService client
func (m *McpGateway) McpGateway() *McpGatewayServiceClient {
	return &McpGatewayServiceClient{getConn: m.getConn}
}
