actor

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ReqTokens fio message request code for "Get Tokens"
	ReqTokens = "GT"
	// RespTokens fio message response code for "Get Tokens"
	RespTokens = "TG"
	// ReqCreateToken fio message request code for "New Token"
	ReqCreateToken = "NT"
	// RespCreateToken fio message response code for "New Token"
	RespCreateToken = "TN"
	// ReqDeleteToken fio message request code for "Delete Token"
	ReqDeleteToken = "DT"
	// RespDeleteToken fio message response code for "Delete Token"
	RespDeleteToken = "TD"
	// FatalError fio message response code for "Error"
	FatalError = "EE"
)

Variables

This section is empty.

Functions

func CreateToken

func CreateToken(s *daemon.ActorSystem, token string, tenant string) (result interface{})

CreateToken creates new token for target tenant

func CreateTokenMessage

func CreateTokenMessage(sender, token string) string

CreateTokenMessage is message for creation of new token

func DeleteToken

func DeleteToken(s *daemon.ActorSystem, token string, tenant string) (result interface{})

DeleteToken deletes existing token for target tenant

func DeleteTokenMessage

func DeleteTokenMessage(sender, token string) string

DeleteTokenMessage is message for deletion of new token

func ProcessRemoteMessage

func ProcessRemoteMessage(s *daemon.ActorSystem) system.ProcessRemoteMessage

ProcessRemoteMessage processing of remote message to this wall

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL