user

package
v0.0.0-...-edc1504 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2020 License: MIT Imports: 4 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 {
	// TODO use unimplemented server for demonstration only.
	// please remember to implement me.
	user.UnimplementedUsersServer
}

Server is an implementation of user.UsersServer.

func New

func New() *Server

New return new instance of Server.

func (*Server) Register

func (s *Server) Register(srv *grpc.Server)

Register implements server.Service.

func (*Server) RegisterWithEndpoint

func (s *Server) RegisterWithEndpoint(ctx context.Context, mux *runtime.ServeMux, addr string, opts []grpc.DialOption)

RegisterWithEndpoint implements server.EndpointService.

Jump to

Keyboard shortcuts

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