Documentation ¶
Index ¶
- Constants
- type Translator
- func (t *Translator) CreateInputSNKey(id string) (translator.Key, error)
- func (t *Translator) CreateIssueActionMetadataKey(key string) (translator.Key, error)
- func (t *Translator) CreateOutputKey(id string, index uint64) (translator.Key, error)
- func (t *Translator) CreateOutputSNKey(id string, index uint64, output []byte) (translator.Key, error)
- func (t *Translator) CreateSetupHashKey() (translator.Key, error)
- func (t *Translator) CreateSetupKey() (translator.Key, error)
- func (t *Translator) CreateTokenRequestKey(id string) (translator.Key, error)
- func (t *Translator) CreateTransferActionMetadataKey(key string) (translator.Key, error)
- func (t *Translator) GetTransferMetadataSubKey(k string) (translator.Key, error)
Constants ¶
View Source
const ( OutputSNKeyPrefix = "osn" TokenSetupKeyPrefix = "se" TokenSetupHashKeyPrefix = "seh" TokenRequestKeyPrefix = "tr" InputSerialNumberPrefix = "sn" IssueActionMetadataPrefix = "iam" TransferActionMetadataPrefix = "tam" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Translator ¶
type Translator struct { }
func (*Translator) CreateInputSNKey ¶
func (t *Translator) CreateInputSNKey(id string) (translator.Key, error)
func (*Translator) CreateIssueActionMetadataKey ¶
func (t *Translator) CreateIssueActionMetadataKey(key string) (translator.Key, error)
func (*Translator) CreateOutputKey ¶
func (t *Translator) CreateOutputKey(id string, index uint64) (translator.Key, error)
func (*Translator) CreateOutputSNKey ¶
func (t *Translator) CreateOutputSNKey(id string, index uint64, output []byte) (translator.Key, error)
func (*Translator) CreateSetupHashKey ¶
func (t *Translator) CreateSetupHashKey() (translator.Key, error)
func (*Translator) CreateSetupKey ¶
func (t *Translator) CreateSetupKey() (translator.Key, error)
func (*Translator) CreateTokenRequestKey ¶
func (t *Translator) CreateTokenRequestKey(id string) (translator.Key, error)
func (*Translator) CreateTransferActionMetadataKey ¶
func (t *Translator) CreateTransferActionMetadataKey(key string) (translator.Key, error)
func (*Translator) GetTransferMetadataSubKey ¶
func (t *Translator) GetTransferMetadataSubKey(k string) (translator.Key, error)
Click to show internal directories.
Click to hide internal directories.