Documentation
¶
Index ¶
Constants ¶
View Source
const ( ENTITY_USER = "USER" ENTITY_BOOK = "BOOK" ACTION_CREATE = "CREATE" ACTION_GET = "GET" ACTION_UPDATE = "UPDATE" ACTION_DELETE = "DELETE" ACTION_REGISTER = "REGISTER" ACTION_LOGIN = "LOGIN" )
Variables ¶
This section is empty.
Functions ¶
func ToPbAction ¶
func ToPbAction(action string) (pb.LoggerRequest_Actions, error)
ToPbAction - converter
func ToPbEntity ¶
func ToPbEntity(entity string) (pb.LoggerRequest_Entities, error)
ToPbEntity - converter
Types ¶
Click to show internal directories.
Click to hide internal directories.