Versions in this module Expand all Collapse all v0 v0.7.0 Dec 17, 2018 Changes in this version + func NewCliFlags() []cli.Flag + type AddrHeap []AddrNode + func (a *AddrHeap) Pop() interface{} + func (a *AddrHeap) Push(x interface{}) + func (a AddrHeap) Len() int + func (a AddrHeap) Less(i, j int) bool + func (a AddrHeap) Swap(i, j int) + type AddrNode struct + Addr string + Timestamp uint64 + type CachedClient struct + MaxCacheSize int64 + func NewCachedClient(client *Client, maxCache int64) *CachedClient + func NewCachedClientFromContext(client *Client, c *cli.Context) *CachedClient + func (cc *CachedClient) LookUpCache(addr ethereum.Address) (UserProfile, bool) + func (cc *CachedClient) LookUpUserProfile(addr ethereum.Address) (UserProfile, error) + type Client struct + func NewClient(sugar *zap.SugaredLogger, url, signingKey string) (*Client, error) + func NewClientFromContext(sugar *zap.SugaredLogger, c *cli.Context) (*Client, error) + func (c *Client) LookUpUserProfile(addr ethereum.Address) (UserProfile, error) + type Interface interface + LookUpUserProfile func(addr ethereum.Address) (UserProfile, error) + type MockClient struct + func (m MockClient) LookUpUserProfile(addr ethereum.Address) (UserProfile, error) + type UserProfile struct + ProfileID int64 + UserName string