package
0.0.0-20200226065818-fe632b36a108
Repository: https://github.com/alipay/sofa-mesh.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

How to add a new plugin:

  • Add a new subdirectory.

  • Export GetInfo() that conforms to authplugin.InfoFn

  • In the returned authplugin.Info:

    • Set Name to what will be used to specify your plugin in config
    • Set GetAuth to a function in your plugin that conforms to authplugin.AuthFn
  • Edit inventory.go in this directory so that your plugin's GetInfo is retuned in the slice that Inventory() returns.