internal

package
v0.0.0-...-f79b915 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	// contains filtered or unexported fields
}

func NewDatabase

func NewDatabase(databaseLocation string) (*Database, error)

func (*Database) Close

func (d *Database) Close() error

func (*Database) CreateUser

func (*Database) GetUsers

func (d *Database) GetUsers(ctx context.Context) (*userspb.ListUsersResponse, error)

type UsersServer

type UsersServer struct {
	userspb.UnimplementedUserServiceServer
	// contains filtered or unexported fields
}

func NewUsersServer

func NewUsersServer(databaseLocation string) (*UsersServer, error)

func (*UsersServer) Close

func (s *UsersServer) Close() error

func (*UsersServer) CreateUser

func (*UsersServer) ListUsers

Jump to

Keyboard shortcuts

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