rpc

package
v0.0.0-...-8d32343 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module(
	"rpc_services",
	fx.Provide(NewUserService),
	fx.Provide(NewServices),
)

Functions

This section is empty.

Types

type Service

type Service interface {
	Setup()
}

type Services

type Services []Service

func NewServices

func NewServices(userService UserService) Services

func (Services) Setup

func (s Services) Setup()

type UserService

type UserService struct {
	protos.UnimplementedUsersServer
	// contains filtered or unexported fields
}

func NewUserService

func NewUserService(handler lib.RpcHandler) UserService

func (UserService) ListUser

func (UserService) Setup

func (s UserService) Setup()

Jump to

Keyboard shortcuts

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