Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PermissionProvider ¶
type PermissionProvider struct {
// contains filtered or unexported fields
}
PermissionProvider vis permission provider.
func New ¶
func New(config *config.Config, insecure bool) (provider *PermissionProvider, err error)
New creates new permission provider.
func (*PermissionProvider) Close ¶
func (provider *PermissionProvider) Close()
Close close connection with permission provider grpc server.
func (*PermissionProvider) GetVisPermissionByToken ¶
func (provider *PermissionProvider) GetVisPermissionByToken(token string) (permissions map[string]string, err error)
GetVisPermissionByToken get vis permission by token.
Click to show internal directories.
Click to hide internal directories.