Skip to content

Instantly share code, notes, and snippets.

View boltegg's full-sized avatar

Eugene boltegg

View GitHub Profile
@boltegg
boltegg / client.go
Created August 4, 2022 16:28 — forked from spikebike/client.go
TLS server and client
package main
import (
"crypto/tls"
"crypto/x509"
"fmt"
"io"
"log"
)
@boltegg
boltegg / klarna.swagger.json
Created September 10, 2021 08:31
Klarna swagger
{
"openapi": "3.0.0",
"info": {
"description": "The payments API is used to create a session to offer Klarna's payment methods as part of your checkout.\n\nAs soon as the purchase is completed the order should be read and handled using the [`Order Management API`](/order-management/api/).",
"version": "1.0.0",
"title": "Klarna Payments API V1",
"x-document-metadata": {
"copyright": "© 2005 - 2021 Klarna Bank AB (publ). All rights reserved.",
"trace-id": "41e83-41e83-614ec-klarna-api-production-s3-20210909144900",
"date-created": "2021-09-09T14:49:00Z"