func WithoutCancel(ctx context.Context) context.Context
WithoutCancel returns a context derived from ctx that may never be cancelled.
func WithoutValues(ctx context.Context) context.Context
WithoutValues creates a new context derived from ctx that does not inherit its values but does pass on cancellation.
type Mutex struct {
// contains filtered or unexported fields
}
func NewMutex() *Mutex
func (m *Mutex) Lock(ctx context.Context) error
func (m *Mutex) TryLock() bool
func (m *Mutex) Unlock()