Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewUsersServer, CreateInitServersFn)
Functions ¶
func CreateInitServersFn ¶
func CreateInitServersFn( us *UsersServer, ) grpc.InitServers
Types ¶
type UsersServer ¶
type UsersServer struct {
// contains filtered or unexported fields
}
func CreateUsersServer ¶
func CreateUsersServer(cf string, service services.UsersService) (*UsersServer, error)
func NewUsersServer ¶
func NewUsersServer(logger *zap.Logger, ps services.UsersService) (*UsersServer, error)
func (*UsersServer) CreateSession ¶
func (s *UsersServer) CreateSession(ctx context.Context, req *proto.SigninRequest) (res *proto.SigninResponse, err error)
func (*UsersServer) CreateUser ¶
func (s *UsersServer) CreateUser(ctx context.Context, req *proto.RegisterRequest) (res *proto.RegisterResponse, err error)
Click to show internal directories.
Click to hide internal directories.