wmsigner

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2016 License: BSD-3-Clause Imports: 9 Imported by: 0

README

WebMoney Signer

Build Status Coverage Status GitHub license

Provides a convenient way to sign your requests to WebMoney API in Go with no need to run executables.

Installation

go get github.com/baibaratsky/go-wmsigner

Usage

    package main

    import "github.com/baibaratsky/go-wmsigner"

    func main() {
        signer, err := wmsigner.New("wmid", "/full/path/to/the/key.kwm", "password")
        if err != nil {
            panic(err.Error())
        }

        signature, err := signer.Sign("Data to be signed")
        if err != nil {
            panic(err.Error())
        }
    }

Documentation

Overview

WebMoney Signer: a native Go implementation of the WMSigner module

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(wmid, keyFileName, keyPassword string) (signer, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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