grpcserver

package
v0.0.0-...-86240e4 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2023 License: BSD-2-Clause Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGRPCServer

func NewGRPCServer(db *sqlx.DB, privateKey *rsa.PrivateKey, port int64) error

Types

type GRPCServer

type GRPCServer struct {
	proto.UnsafeUserServiceServer
	// contains filtered or unexported fields
}

func (GRPCServer) AddAuditEvent

func (g GRPCServer) AddAuditEvent(ctx context.Context, req *proto.NewAuditEventRequest) (*proto.None, error)

func (GRPCServer) AddFolllower

func (g GRPCServer) AddFolllower(ctx context.Context, req *proto.AddFollowReq) (*proto.None, error)

func (GRPCServer) BanUser

func (GRPCServer) EmailValidation

func (g GRPCServer) EmailValidation(ctx context.Context, in *proto.ValidationRequest) (*proto.None, error)

func (GRPCServer) GetAuditEvents

func (GRPCServer) GetFollowers

func (g GRPCServer) GetFollowers(ctx context.Context, req *proto.FollowerReq) (*proto.FollowerResp, error)

func (GRPCServer) GetUserForForeignUID

func (GRPCServer) GetUserFromID

func (GRPCServer) Login

func (GRPCServer) Register

func (GRPCServer) ResetPassword

func (g GRPCServer) ResetPassword(ctx context.Context, req *proto.ResetPasswordRequest) (*proto.None, error)

func (GRPCServer) SetProfile

func (g GRPCServer) SetProfile(ctx context.Context, req *proto.ProfileReq) (*proto.None, error)

func (GRPCServer) SetUserRank

func (g GRPCServer) SetUserRank(ctx context.Context, req *proto.SetRankRequest) (*proto.None, error)

func (GRPCServer) ValidateJWT

Jump to

Keyboard shortcuts

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