Skip to content

[Docu]: Instantiation and loading details #26

@CubicrootXYZ

Description

@CubicrootXYZ

I am currently trying to get into writing traefik plugins and have some questions I was not able to find in the developer docu nor here in the repo.

  1. When is the plugin compiled and loaded? Asking because I am interested when an init function would be executed. Is this happening on startup or separately for each specified middleware?
  2. When ist the New function called? Does this happen once on startup or separately for each router/service using the middleware?

Thanks in advance for looking into this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions