Documentation ¶
Index ¶
Constants ¶
View Source
const ( ClusterIDKey = "cluster_auth_cluster_id" )
Variables ¶
This section is empty.
Functions ¶
func AuthorizedID ¶
func AuthorizedID(c *fiber.Ctx) string
func AuthorizedKeys ¶
func AuthorizedKeys(c *fiber.Ctx) *keyring.SharedKeys
Types ¶
type ClusterMiddleware ¶
type ClusterMiddleware struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context, keyringStore storage.KeyringStoreBroker, headerKey string) (*ClusterMiddleware, error)
func (*ClusterMiddleware) Handle ¶
func (m *ClusterMiddleware) Handle(c *fiber.Ctx) error
Click to show internal directories.
Click to hide internal directories.