counter

package
v0.0.0-...-9bb2069 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

type Counter struct {
	counter.UnimplementedCounterServer
	// contains filtered or unexported fields
}

func (*Counter) Decrement

func (s *Counter) Decrement(ctx context.Context, _ *counter.Empty) (*counter.Value, error)

func (*Counter) Get

func (s *Counter) Get(ctx context.Context, _ *counter.Empty) (*counter.Value, error)

func (*Counter) Increment

func (s *Counter) Increment(ctx context.Context, _ *counter.Empty) (*counter.Value, error)

Jump to

Keyboard shortcuts

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