Documentation ¶
Overview ¶
Package signatory is a generated protocol buffer package.
It is generated from these files:
config.proto
It has these top-level messages:
Config
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Whitelist []string `protobuf:"bytes,1,rep,name=whitelist" json:"whitelist,omitempty"` JrpcBindAddr string `protobuf:"bytes,2,opt,name=jrpcBindAddr" json:"jrpcBindAddr,omitempty"` Privkey string `protobuf:"bytes,3,opt,name=privkey" json:"privkey,omitempty"` }
Config token相关cmd配置
func (*Config) Descriptor ¶
func (*Config) GetJrpcBindAddr ¶
func (*Config) GetPrivkey ¶
func (*Config) GetWhitelist ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
type Signatory ¶
type Signatory struct {
Privkey string
}
Signatory 签名密钥
func (*Signatory) SignApprove ¶
func (signatory *Signatory) SignApprove(in *TokenFinish, out *interface{}) error
SignApprove 完成签名
func (*Signatory) SignTransfer ¶
SignTransfer 签名交易,in 输入要数据 签名out 签名之后数据
type TokenFinish ¶
TokenFinish token创建完成
Click to show internal directories.
Click to hide internal directories.