server

package
v0.0.0-...-c4b01f8 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	VerifyClientCert bool
}

type Dependencies

type Dependencies struct {
	Storage    storage.Storage
	Broker     event.Broker
	Dispatcher *dispatcher.Dispatcher
	Logger     logging.Logger
	Tracer     trace.Tracer
	Config     Config
}

type UserServer

type UserServer struct {
	pb.UnimplementedUserServiceServer
	// contains filtered or unexported fields
}

func MakeUserServer

func MakeUserServer(d Dependencies) UserServer

func (UserServer) Close

func (s UserServer) Close() error

func (UserServer) Create

func (UserServer) Delete

func (s UserServer) Delete(ctx context.Context, req *pb.DeleteUserRequest) (*emptypb.Empty, error)

func (UserServer) Get

func (UserServer) GetSecret

func (UserServer) GetStream

func (UserServer) Update

func (s UserServer) Update(ctx context.Context, req *pb.UpdateUserRequest) (*emptypb.Empty, error)

func (UserServer) ValidateRequestInterceptor

func (s UserServer) ValidateRequestInterceptor() grpc.UnaryServerInterceptor

Jump to

Keyboard shortcuts

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