Documentation
¶
Index ¶
- type Server
- func (s Server) Create(ctx context.Context, r *proto.CreateRequest) (*proto.CreateResponse, error)
- func (s Server) FindMany(ctx context.Context, r *proto.FindManyRequest) (*proto.FindManyResponse, error)
- func (s Server) FindOne(ctx context.Context, r *proto.FindOneRequest) (*proto.FindOneResponse, error)
- func (s Server) ListenAndServe() error
- func (s Server) Shutdown()
- func (s Server) Update(ctx context.Context, r *proto.UpdateRequest) (*proto.UpdateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { proto.UnimplementedServiceServer // contains filtered or unexported fields }
func (Server) Create ¶
func (s Server) Create(ctx context.Context, r *proto.CreateRequest) (*proto.CreateResponse, error)
func (Server) FindMany ¶
func (s Server) FindMany(ctx context.Context, r *proto.FindManyRequest) (*proto.FindManyResponse, error)
func (Server) FindOne ¶
func (s Server) FindOne(ctx context.Context, r *proto.FindOneRequest) (*proto.FindOneResponse, error)
func (Server) ListenAndServe ¶
func (Server) Update ¶
func (s Server) Update(ctx context.Context, r *proto.UpdateRequest) (*proto.UpdateResponse, error)
Click to show internal directories.
Click to hide internal directories.