service

package
v0.0.0-...-9def770 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 10 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is service providers.

Functions

This section is empty.

Types

type GreeterService

type GreeterService struct {
	v1.UnimplementedGreeterServer
	// contains filtered or unexported fields
}

GreeterService is a greeter service.

func NewGreeterService

func NewGreeterService(uc *biz.GreeterUsecase) *GreeterService

NewGreeterService new a greeter service.

func (*GreeterService) SayHello

func (s *GreeterService) SayHello(ctx context.Context, in *v1.HelloRequest) (*v1.HelloReply, error)

SayHello implements helloworld.GreeterServer.

type PolicyService

type PolicyService struct {
	pb.UnimplementedPolicyServer
	// contains filtered or unexported fields
}

func NewPolicyService

func NewPolicyService(uc *biz.PolicyUsecase) *PolicyService

func (*PolicyService) Create

func (*PolicyService) SayHello

func (s *PolicyService) SayHello(ctx context.Context, req *pb.HelloRequest) (*pb.HelloReply, error)

type SecretService

type SecretService struct {
	secretv1.UnimplementedSecretServer
	// contains filtered or unexported fields
}

GreeterService is a greeter service.

func NewSecretService

func NewSecretService(uc *biz.SecretUsecase) *SecretService

NewGreeterService new a greeter service.

func (*SecretService) CreateSecret

func (*SecretService) ListSecret

type UserService

type UserService struct {
	userpb.UnimplementedUserServer
	authpb.UnimplementedAuthServer
	// contains filtered or unexported fields
}

GreeterService is a greeter service.

func NewUserService

func NewUserService(uc *biz.UserUsecase) *UserService

NewGreeterService new a greeter service.

func (*UserService) Create

func (*UserService) Get

func (*UserService) Login

Jump to

Keyboard shortcuts

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