Documentation ¶ Index ¶ type Counter func (s *Counter) Decrement(ctx context.Context, _ *counter.Empty) (*counter.Value, error) func (s *Counter) Get(ctx context.Context, _ *counter.Empty) (*counter.Value, error) func (s *Counter) Increment(ctx context.Context, _ *counter.Empty) (*counter.Value, error) 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) Source Files ¶ View all Source files counter.go Click to show internal directories. Click to hide internal directories.