gallychainlookup

package
v0.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is a allychain lookup that talks over RPC.

func NewClient

NewClient returns an alias lookup connected to a remote alias lookup

func (*Client) AllychainID

func (c *Client) AllychainID(chainID ids.ID) (ids.ID, error)

type Server

type Server struct {
	allychainlookuppb.UnsafeAllychainLookupServer
	// contains filtered or unexported fields
}

Server is a allychain lookup that is managed over RPC.

func NewServer

func NewServer(aliaser snow.AllychainLookup) *Server

NewServer returns a allychain lookup connected to a remote allychain lookup

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL