kopia lustrzana https://github.com/reiver/greatape
29 wiersze
624 B
Go
29 wiersze
624 B
Go
package operations
|
|
|
|
import . "github.com/xeronith/diamante/contracts/operation"
|
|
|
|
type operationFactory struct{}
|
|
|
|
func (factory *operationFactory) Operations() []IOperation {
|
|
return []IOperation{
|
|
SystemCallOperation(),
|
|
EchoOperation(),
|
|
SignupOperation(),
|
|
VerifyOperation(),
|
|
LoginOperation(),
|
|
GetProfileByUserOperation(),
|
|
UpdateProfileByUserOperation(),
|
|
LogoutOperation(),
|
|
WebfingerOperation(),
|
|
GetActorOperation(),
|
|
FollowActorOperation(),
|
|
AuthorizeInteractionOperation(),
|
|
GetFollowersOperation(),
|
|
GetFollowingOperation(),
|
|
}
|
|
}
|
|
|
|
func NewFactory() IOperationFactory {
|
|
return &operationFactory{}
|
|
}
|