server

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2023 License: Apache-2.0, BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(cert *x509.Certificate) func(http.ResponseWriter, *http.Request)

Parse parsed receipt-data in a request

func Serve

func Serve(port int, cert *x509.Certificate)

Serve is for serving receipt verification

Types

type Request

type Request struct {
	ReceiptData string `json:"receipt-data"`
	Password    string `json:"password"`
}

Request is for request to a receipt validation server

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL