# HTTP Sunucusu (Go) > net/http, handlers, ServeMux, middleware, request/response, routing, context - 24 mülakat soruları - Mid-Level - [Mülakat Soruları: Go](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari.md) ## 1. Go'da net/http paketi nedir? **Cevap** net/http paketi, HTTP sunucuları ve istemcileri oluşturmak için işlevsellik sağlar. http.Server, http.Handler, http.Request, http.ResponseWriter gibi tipleri ve ListenAndServe gibi fonksiyonları içerir. Go'nun HTTP için standart kütüphanesidir ve çoğu web uygulamasında harici bağımlılık olmadan kullanılır. ## 2. Go'da basit bir HTTP sunucusu nasıl oluşturulur? **Cevap** http.ListenAndServe fonksiyonu, belirli bir portta bir handler ile bir HTTP sunucusu başlatır. İki parametre alır: adres (ör: ':8080') ve bir handler (DefaultServeMux kullanmak için nil olabilir). Bir sunucu başlatmanın en basit yöntemidir; bir hata oluşana kadar bloke eder. ## 3. Go'da http.Handler nedir? **Cevap** http.Handler, tek bir ServeHTTP(ResponseWriter, *Request) metoduna sahip bir arabirimdir. Bu metodu uygulayan herhangi bir tip HTTP isteklerini işleyebilir. Özel handler'lar, middleware ve router'lar oluşturmak için temel sözleşmedir. Tüm Go web framework'leri bu arabirimi temel olarak kullanır. ## 21 soru daha mevcut - http.Handler ile http.HandlerFunc arasındaki fark nedir? - http.ServeMux ne için kullanılır? Ücretsiz kaydol: https://sharpskill.dev/tr/login ## Diğer Go mülakat konuları - [Go Temelleri](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/go-basics.md): 25 soru, Junior - [Go Veri Yapıları](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/go-data-structures.md): 20 soru, Junior - [Go Arayüzleri](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/go-interfaces.md): 18 soru, Junior - [Hata Yönetimi](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/error-handling.md): 20 soru, Junior - [Goroutine Temelleri](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/goroutines-basics.md): 20 soru, Junior - [Channels](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/channels.md): 22 soru, Junior - [Go Modules](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/go-modules.md): 18 soru, Mid-Level - [HTTP İstemcisi](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/http-client.md): 18 soru, Mid-Level - [JSON Kodlama](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/json-encoding.md): 20 soru, Mid-Level - [Database/SQL](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/database-sql.md): 22 soru, Mid-Level - [context Paketi](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/context-package.md): 20 soru, Mid-Level - [Testing](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/testing.md): 22 soru, Mid-Level - [Eşzamanlılık Desenleri](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/concurrency-patterns.md): 24 soru, Mid-Level - [Senkronizasyon İlkelleri](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/sync-primitives.md): 22 soru, Mid-Level - [Go Web Framework'leri](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/go-web-frameworks.md): 20 soru, Mid-Level - [REST API Tasarımı](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/rest-api-design.md): 20 soru, Mid-Level - [gRPC](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/grpc.md): 22 soru, Mid-Level - [Reflection](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/reflection.md): 20 soru, Senior - [Bellek Yönetimi](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/memory-management.md): 24 soru, Senior - [Performans Optimizasyonu](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/performance-optimization.md): 22 soru, Senior - [Generics](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/generics.md): 20 soru, Senior - [Go Design Patterns](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/design-patterns.md): 24 soru, Senior - [Microservices](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/microservices.md): 24 soru, Senior - [Güvenlik ve Kimlik Doğrulama](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/security-authentication.md): 24 soru, Senior - [Docker & Containerization](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/docker-containerization.md): 20 soru, Senior - [Kubernetes Basics](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/kubernetes-basics.md): 22 soru, Senior - [İleri Düzey Go](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/advanced-go.md): 20 soru, Senior - [CLI Geliştirme](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/cli-development.md): 20 soru, Senior --- Source: SharpSkill (https://sharpskill.dev), tech interview preparation for your real stack. HTML version of this page: https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/http-server