Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeCreateUserEndpoint ¶
func MakeCreateUserEndpoint(svc pb.UserServiceServer) endpoint.Endpoint
func MakeGetUserEndpoint ¶
func MakeGetUserEndpoint(svc pb.UserServiceServer) endpoint.Endpoint
Types ¶
type Endpoints ¶
func MakeEndpoints ¶
func MakeEndpoints(svc pb.UserServiceServer) Endpoints
func (*Endpoints) CreateUser ¶
func (e *Endpoints) CreateUser(ctx context.Context, in *pb.CreateUserRequest) (*pb.CreateUserResponse, error)
func (*Endpoints) GetUser ¶
func (e *Endpoints) GetUser(ctx context.Context, in *pb.GetUserRequest) (*pb.GetUserResponse, error)
type StreamEndpoint ¶
type StreamEndpoint func(server interface{}, req interface{}) (err error)
Click to show internal directories.
Click to hide internal directories.