Versions in this module Expand all Collapse all v1 v1.8.4 Feb 22, 2022 v1.8.3 Feb 22, 2022 Changes in this version + type Client struct + func NewClient(client galiasreaderproto.AliasReaderClient) *Client + func (c *Client) Aliases(id ids.ID) ([]string, error) + func (c *Client) Lookup(alias string) (ids.ID, error) + func (c *Client) PrimaryAlias(id ids.ID) (string, error) + type Server struct + func NewServer(aliaser ids.AliaserReader) *Server + func (s *Server) Aliases(_ context.Context, req *galiasreaderproto.ID) (*galiasreaderproto.AliasList, error) + func (s *Server) Lookup(_ context.Context, req *galiasreaderproto.Alias) (*galiasreaderproto.ID, error) + func (s *Server) PrimaryAlias(_ context.Context, req *galiasreaderproto.ID) (*galiasreaderproto.Alias, error)