server

package
v0.0.0-...-8f7c90a Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CakesServer

type CakesServer struct {
	cakesv1.UnimplementedCakesServiceServer
	// contains filtered or unexported fields
}

func NewCakesServer

func NewCakesServer(setters ...CakesServerSetter) *CakesServer

func (*CakesServer) CreateCake

func (*CakesServer) DeleteCake

func (*CakesServer) GetCake

func (*CakesServer) ListCakes

func (*CakesServer) UpdateCake

type CakesServerSetter

type CakesServerSetter func(server *CakesServer)

func WithCreateCakesService

func WithCreateCakesService(createCakeService services.CreateCakesService) CakesServerSetter

func WithDeleteCakesService

func WithDeleteCakesService(deleteCakeService services.DeleteCakesService) CakesServerSetter

func WithGetCakesService

func WithGetCakesService(getCakesService services.GetCakesService) CakesServerSetter

func WithListCakesService

func WithListCakesService(listCakesService services.ListCakesService) CakesServerSetter

func WithUpdateCakesService

func WithUpdateCakesService(updateCakeService services.UpdateCakesService) CakesServerSetter

Jump to

Keyboard shortcuts

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