Documentation
¶
Index ¶
- type AuthSvc
- func (s *AuthSvc) AddAuth(ctx context.Context, req *pb.AddAuthReq) (*pb.AuthResp, error)
- func (s *AuthSvc) AddVoucher(ctx context.Context, req *pb.AddVoucherReq) (*pb.AddVoucherResp, error)
- func (s *AuthSvc) RegisterWithGRPCServer(g *grpc.Server) error
- func (s *AuthSvc) RmvAuth(ctx context.Context, req *pb.RmvAuthReq) (*pb.RmvAuthResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthSvc ¶
type AuthSvc struct { }
AuthSvc ecapsulates dependencies and data required to implement the pb.AuthServer interface.
func (*AuthSvc) AddVoucher ¶
func (s *AuthSvc) AddVoucher(ctx context.Context, req *pb.AddVoucherReq) (*pb.AddVoucherResp, error)
AddVoucher implements part of the pb.AuthServer interface.
func (*AuthSvc) RegisterWithGRPCServer ¶
RegisterWithGRPCServer implements the grpcsrv.Registerable interface.
func (*AuthSvc) RmvAuth ¶
func (s *AuthSvc) RmvAuth(ctx context.Context, req *pb.RmvAuthReq) (*pb.RmvAuthResp, error)
RmvAuth implements part of the pb.AuthServer interface.
Click to show internal directories.
Click to hide internal directories.