Documentation ¶
Index ¶
- type Handler
- func (handler Handler) Activate(ctx context.Context, request *proto.Identifier) (*proto.Message, error)
- func (handler Handler) Add(ctx context.Context, request *proto.Identifier) (*proto.Message, error)
- func (handler Handler) Delete(ctx context.Context, request *proto.Identifier) (*proto.Message, error)
- func (handler Handler) Get(ctx context.Context, request *proto.Identifier) (*proto.Data, 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) Activate ¶
func (handler Handler) Activate(ctx context.Context, request *proto.Identifier) (*proto.Message, error)
Activate is used to handle Activate function
Click to show internal directories.
Click to hide internal directories.