lock

package
v0.0.0-...-0352b5b Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lock

type Lock struct {
	Members []grpc.ObjectID `json:"members"`
}

func (*Lock) EmitProtobuf

func (x *Lock) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*Lock) GetMembers

func (x *Lock) GetMembers() []grpc.ObjectID

func (*Lock) MarshalEasyJSON

func (x *Lock) MarshalEasyJSON(out *jwriter.Writer)

func (*Lock) MarshalJSON

func (x *Lock) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*Lock) MarshalProtobuf

func (x *Lock) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*Lock) SetMembers

func (x *Lock) SetMembers(v []grpc.ObjectID)

func (*Lock) StableSize

func (x *Lock) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*Lock) UnmarshalEasyJSON

func (x *Lock) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*Lock) UnmarshalJSON

func (x *Lock) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*Lock) UnmarshalProtobuf

func (x *Lock) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

Jump to

Keyboard shortcuts

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