Documentation
¶
Index ¶
- type Handler
- func (handler Handler) Add(ctx context.Context, request *proto.Data) (*proto.AddResponse, error)
- func (handler Handler) Auth(ctx context.Context, request *proto.AuthRequest) (*proto.AuthResponse, error)
- func (handler Handler) Get(ctx context.Context, request *proto.GetRequest) (*proto.Data, error)
- func (handler Handler) Update(ctx context.Context, request *proto.UpdateRequest) (*proto.UpdateResponse, error)
- func (handler Handler) Validate(ctx context.Context, request *proto.Data) (*proto.ValidateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is used to handle all user main service functions
func (Handler) Auth ¶
func (handler Handler) Auth(ctx context.Context, request *proto.AuthRequest) (*proto.AuthResponse, error)
Auth is used to handle Auth function
func (Handler) Update ¶
func (handler Handler) Update(ctx context.Context, request *proto.UpdateRequest) (*proto.UpdateResponse, error)
Update is used to handler Update function
Click to show internal directories.
Click to hide internal directories.