api

package
v0.0.0-...-88fbf3c Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 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 Server

type Server struct {
}

Server provides an interface for gRPC

func New

func New() (*Server, error)

New creates an instance of a server

func (*Server) ListProjects

func (s *Server) ListProjects(ctx context.Context, e *pb.Empty) (*pb.ProjectsResponse, error)

ListProjects lists all projects

func (*Server) ListUsers

func (s *Server) ListUsers(ctx context.Context, e *pb.Empty) (*pb.UsersResponse, error)

ListUsers lists all users

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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