Documentation ¶
Index ¶
- Variables
- type GreetingServer
- func (r *GreetingServer) Create(ctx context.Context, in *protos.CreateGreetingParam) (out *protos.CreateGreetingReply, err error)
- func (r *GreetingServer) Delete(ctx context.Context, in *protos.DeleteGreetingParam) (out *protos.DeleteGreetingReply, err error)
- func (r *GreetingServer) GetAll(ctx context.Context, in *protos.GetGreetingAllParam) (out *protos.GetGreetingAllReply, err error)
- func (r *GreetingServer) GetDetail(ctx context.Context, in *protos.GetGreetingDetailParam) (out *protos.GetGreetingDetailReply, err error)
- func (r *GreetingServer) GetList(ctx context.Context, in *protos.GetGreetingListParam) (out *protos.GetGreetingListReply, err error)
- func (r *GreetingServer) Update(ctx context.Context, in *protos.UpdateGreetingParam) (out *protos.UpdateGreetingReply, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewGreetingServer, )
Functions ¶
This section is empty.
Types ¶
type GreetingServer ¶
type GreetingServer struct {
// contains filtered or unexported fields
}
func NewGreetingServer ¶
func NewGreetingServer(endpoints *endpoint.Endpoints) *GreetingServer
func (*GreetingServer) Create ¶
func (r *GreetingServer) Create(ctx context.Context, in *protos.CreateGreetingParam) (out *protos.CreateGreetingReply, err error)
func (*GreetingServer) Delete ¶
func (r *GreetingServer) Delete(ctx context.Context, in *protos.DeleteGreetingParam) (out *protos.DeleteGreetingReply, err error)
func (*GreetingServer) GetAll ¶
func (r *GreetingServer) GetAll(ctx context.Context, in *protos.GetGreetingAllParam) (out *protos.GetGreetingAllReply, err error)
func (*GreetingServer) GetDetail ¶
func (r *GreetingServer) GetDetail(ctx context.Context, in *protos.GetGreetingDetailParam) (out *protos.GetGreetingDetailReply, err error)
func (*GreetingServer) GetList ¶
func (r *GreetingServer) GetList(ctx context.Context, in *protos.GetGreetingListParam) (out *protos.GetGreetingListReply, err error)
func (*GreetingServer) Update ¶
func (r *GreetingServer) Update(ctx context.Context, in *protos.UpdateGreetingParam) (out *protos.UpdateGreetingReply, err error)
Click to show internal directories.
Click to hide internal directories.