users

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnknown = status.Error(codes.NotFound, `unknown error`)

Functions

This section is empty.

Types

type Handlers

type Handlers struct {
	*postgres.Postgres
}

func (Handlers) Create

func (s Handlers) Create(ctx context.Context, in *pb.User) (*pb.User, error)

func (Handlers) List

func (s Handlers) List(in *pb.Empty, str pb.UserStorage_ListServer) error

func (Handlers) Remove

func (s Handlers) Remove(ctx context.Context, in *pb.Id) (*pb.Empty, error)

func (Handlers) Update

func (s Handlers) Update(ctx context.Context, in *pb.User) (*pb.User, error)

Jump to

Keyboard shortcuts

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