Skip to content

Conversation

@Koopa0
Copy link

@Koopa0 Koopa0 commented Mar 21, 2025

Add generic metadata support

This PR implements the generic metadata functionality requested in issue #21

Changes

Server Side

  • Added Metadata field to EntrypointConfig structure to allow configuration of metadata per entrypoint
  • Added WithEntrypointMetadata option function for programmatic metadata configuration
  • Updated the Entrypoint interface to add Metadata() method

Client Side

  • Modified SelectorFunc signature to accept metadata parameter
  • Updated SelectRandomNode function to filter nodes based on metadata
  • Extracted filtering logic to separate functions to reduce complexity

@Koopa0 Koopa0 force-pushed the feature/generic-metadata branch from ce36bb7 to 14b551f Compare March 22, 2025 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant