Documentation ¶
Index ¶
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToInt64 ¶
func BytesToUint32 ¶
func Int64ToBytes ¶
func LoadLiveCells ¶
func LoadLiveCellsWithSize ¶
func LoadLiveNormalCells ¶
func LoadOneLiveCell ¶
func SplitKeyName ¶
func Uint16ToBytes ¶
func Uint64ToBytes ¶
func Uint8ToBytes ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.