identity

package
v0.0.0-...-e6fea77 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateIdentity

func CreateIdentity(c echo.Context) error

func GetIdentifier

func GetIdentifier(c echo.Context) error

Types

type Response

type Response struct {
	ID     string `json:"id"`
	Result struct {
		Response struct {
			Value string `json:"value"`
			Log   string `json:"log"`
			Key   string `json:"key"`
		} `json:"response"`
	} `json:"result"`
}

type ResponseDeliver

type ResponseDeliver struct {
	Result struct {
		Height  int `json:"height"`
		CheckTx struct {
			Fee struct{} `json:"fee"`
		} `json:"check_tx"`
		DeliverTx struct {
			Log string   `json:"log"`
			Fee struct{} `json:"fee"`
		} `json:"deliver_tx"`
		Hash string `json:"hash"`
	} `json:"result"`
	Jsonrpc string `json:"jsonrpc"`
	ID      string `json:"id"`
}

type Sid

type Sid struct {
	Namespace string `json:"namespace"`
	Id        string `json:"id"`
}

Jump to

Keyboard shortcuts

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