Versions in this module Expand all Collapse all v0 v0.0.1 Sep 6, 2021 Changes in this version + func Bytes2str(b []byte) string + func BytesToInt64(buf []byte) int64 + func BytesToInt64_LittleEndian(buf []byte) int64 + func BytesToUint32(buf []byte) uint32 + func BytesToUint32_LittleEndian(buf []byte) uint32 + func Int64ToBytes(i int64) []byte + func LoadLiveCells(client rpc.Client, key *indexer.SearchKey, capLimit uint64, ...) ([]indexer.LiveCell, uint64, error) + func LoadLiveCellsWithSize(client rpc.Client, key *indexer.SearchKey, capLimit, size uint64, ...) ([]indexer.LiveCell, uint64, error) + func LoadLiveNormalCells(client rpc.Client, key *indexer.SearchKey, capLimit uint64, ...) ([]indexer.LiveCell, uint64, error) + func LoadOneLiveCell(client rpc.Client, key *indexer.SearchKey, capLimit uint64, ...) ([]indexer.LiveCell, uint64, error) + func RetryReq(retryTime int, delayTime time.Duration, reqFunc func() (interface{}, error)) (interface{}, error) + func SplitKeyName(key []byte) (string, string) + func Str2bytes(s string) []byte + func Uint16ToBytes(i uint16) []byte + func Uint64ToBytes(i uint64) []byte + func Uint8ToBytes(i uint8) []byte + type ReqResp struct + Data interface{} + ErrMsg string + ErrNo dascode.DAS_CODE