github.com/infraboard/keyauth@v0.8.1/apps/role/service_http.pb.go (about)

     1  // Code generated by protoc-gen-go-http. DO NOT EDIT.
     2  
     3  package role
     4  
     5  import (
     6  	http "github.com/infraboard/mcube/pb/http"
     7  )
     8  
     9  // HttpEntry todo
    10  func HttpEntry() *http.EntrySet {
    11  	set := &http.EntrySet{
    12  		Items: []*http.Entry{
    13  			{
    14  				Path:         "/keyauth.role.RoleService/CreateRole",
    15  				FunctionName: "CreateRole",
    16  			},
    17  			{
    18  				Path:         "/keyauth.role.RoleService/QueryRole",
    19  				FunctionName: "QueryRole",
    20  			},
    21  			{
    22  				Path:         "/keyauth.role.RoleService/DescribeRole",
    23  				FunctionName: "DescribeRole",
    24  			},
    25  			{
    26  				Path:         "/keyauth.role.RoleService/DeleteRole",
    27  				FunctionName: "DeleteRole",
    28  			},
    29  			{
    30  				Path:         "/keyauth.role.RoleService/QueryPermission",
    31  				FunctionName: "QueryPermission",
    32  			},
    33  			{
    34  				Path:         "/keyauth.role.RoleService/DescribePermission",
    35  				FunctionName: "DescribePermission",
    36  			},
    37  			{
    38  				Path:         "/keyauth.role.RoleService/AddPermissionToRole",
    39  				FunctionName: "AddPermissionToRole",
    40  			},
    41  			{
    42  				Path:         "/keyauth.role.RoleService/RemovePermissionFromRole",
    43  				FunctionName: "RemovePermissionFromRole",
    44  			},
    45  			{
    46  				Path:         "/keyauth.role.RoleService/UpdatePermission",
    47  				FunctionName: "UpdatePermission",
    48  			},
    49  		},
    50  	}
    51  	return set
    52  }