readwriter

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file contains the readWriter struct, its methods, and some helper functions related to serialization. readWriter is responsible for reading and writing the server's clientLocks to a file so that locks can persist across ldlm server restarts.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(c *Config) (*readWriter, error)

New returns a new readWriter instance

Types

type Config

type Config struct {
	StateFile string `desc:"File in which to store lock state" default:"" short:"s"`
}

Jump to

Keyboard shortcuts

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