Versions in this module Expand all Collapse all v0 v0.7.0 Mar 12, 2022 Changes in this version + const DefaultAPIAddress + const DefaultAPIPort + var ErrUnableToConnect = serrors.New("unable to connect to the SCION Daemon") + type ASInfo struct + IA addr.IA + MTU uint16 + type Connector interface + ASInfo func(ctx context.Context, ia addr.IA) (ASInfo, error) + Close func(ctx context.Context) error + IFInfo func(ctx context.Context, ifs []common.IFIDType) (map[common.IFIDType]*net.UDPAddr, error) + LocalIA func(ctx context.Context) (addr.IA, error) + Paths func(ctx context.Context, dst, src addr.IA, f PathReqFlags) ([]snet.Path, error) + RevNotification func(ctx context.Context, revInfo *path_mgmt.RevInfo) error + SVCInfo func(ctx context.Context, svcTypes []addr.HostSVC) (map[addr.HostSVC]string, error) + type Metrics struct + ASRequests metrics.Counter + Connects metrics.Counter + InterfaceDownNotifications metrics.Counter + InterfacesRequests metrics.Counter + PathsRequests metrics.Counter + ServicesRequests metrics.Counter + type PathReqFlags struct + Hidden bool + Refresh bool + type Querier struct + Connector Connector + IA addr.IA + func (q Querier) Query(ctx context.Context, dst addr.IA) ([]snet.Path, error) + type RevHandler struct + Connector Connector + func (h RevHandler) Revoke(ctx context.Context, revInfo *path_mgmt.RevInfo) error + type Service struct + Address string + Metrics Metrics + func NewService(name string) Service + func (s Service) Connect(ctx context.Context) (Connector, error) + type TopoQuerier struct + Connector Connector + func (h TopoQuerier) UnderlayAnycast(ctx context.Context, svc addr.HostSVC) (*net.UDPAddr, error)