Documentation
¶
Overview ¶
Package actor implements actors, which is an interface encompassing both clients or users. They serve many of the same functions and formerly were implemented using the same object, but are now different types. Thus,Actor is now an interface rather than being a distinct type of object encompassing both.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actor ¶
type Actor interface {
IsAdmin() bool
IsValidator() bool
IsSelf(interface{}) bool
IsUser() bool
IsClient() bool
PublicKey() string
SetPublicKey(interface{}) error
GetName() string
CheckPermEdit(map[string]interface{}, string) util.Gerror
}
Actor is an interface for objects that can make requests to the server.
Click to show internal directories.
Click to hide internal directories.