mscontext

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

The package provides ror-context for services

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRorContextFromServiceContext

func GetRorContextFromServiceContext(c *context.Context, servicename string) (context.Context, context.CancelFunc)

Function provides a ror context for a given servicename, the context must be used to authenticate against existing services

func GetRorContextFromServiceContextWithoutCancel

func GetRorContextFromServiceContextWithoutCancel(c context.Context, servicename string) context.Context

GetRorContextFromServiceContextWithoutCancel Function provides a ror context for a given servicename, the context must be used to authenticate against existing services. The functionality is the same except that it forces a cancel on us.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL