internal

package
v0.0.4-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashData

func HashData(jsonData string) string

Types

type ClientWrapper

type ClientWrapper interface {
	Call(req *http.Request) ([]byte, error)
}

func NewClient

func NewClient() ClientWrapper

type GOP24Config

type GOP24Config struct {
	MerchantID uint
	PosID      uint
	CrcKey     string
	Server     Server
	ReportKey  string
}

func (GOP24Config) GetBaseUrl

func (c GOP24Config) GetBaseUrl() string

type Server

type Server int
const (
	SandboxServer Server = iota
	ProductionServer
)

Jump to

Keyboard shortcuts

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