Versions in this module Expand all Collapse all v1 v1.9.8 Jun 28, 2023 Changes in this version + type Client struct + func NewClient(client aliasreaderpb.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 *aliasreaderpb.ID) (*aliasreaderpb.AliasList, error) + func (s *Server) Lookup(_ context.Context, req *aliasreaderpb.Alias) (*aliasreaderpb.ID, error) + func (s *Server) PrimaryAlias(_ context.Context, req *aliasreaderpb.ID) (*aliasreaderpb.Alias, error) v1.9.8-rc.9 Jun 28, 2023