arpcimpl

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ARpcNameAuthenticationIAccessTokenServiceCreate     = "authentication.IAccessTokenService.Create"
	ARpcNameAuthenticationIAccessTokenServiceListByUser = "authentication.IAccessTokenService.ListByUser"
	ARpcNameAuthenticationIAccessTokenServiceList       = "authentication.IAccessTokenService.List"
	ARpcNameAuthenticationIAccessTokenServiceValidate   = "authentication.IAccessTokenService.Validate"
	ARpcNameAuthenticationIAccessTokenServiceDelete     = "authentication.IAccessTokenService.Delete"
)
View Source
const (
	ARpcNameAuthenticationIAuthenticationServiceAddUser             = "authentication.IAuthenticationService.AddUser"
	ARpcNameAuthenticationIAuthenticationServiceDeleteUser          = "authentication.IAuthenticationService.DeleteUser"
	ARpcNameAuthenticationIAuthenticationServiceUpdateUser          = "authentication.IAuthenticationService.UpdateUser"
	ARpcNameAuthenticationIAuthenticationServiceAuthenticate        = "authentication.IAuthenticationService.Authenticate"
	ARpcNameAuthenticationIAuthenticationServiceAuthenticateByToken = "authentication.IAuthenticationService.AuthenticateByToken"
	ARpcNameAuthenticationIAuthenticationServiceHasUser             = "authentication.IAuthenticationService.HasUser"
	ARpcNameAuthenticationIAuthenticationServiceUserById            = "authentication.IAuthenticationService.UserById"
	ARpcNameAuthenticationIAuthenticationServiceUserByName          = "authentication.IAuthenticationService.UserByName"
	ARpcNameAuthenticationIAuthenticationServiceUserByEmail         = "authentication.IAuthenticationService.UserByEmail"
	ARpcNameAuthenticationIAuthenticationServiceListUsers           = "authentication.IAuthenticationService.ListUsers"
)

Variables

This section is empty.

Functions

func HandleARpcServerIAccessTokenService

func HandleARpcServerIAccessTokenService(svr *ARpcServerIAccessTokenService, handler arpc.Handler)

func HandleARpcServerIAccessTokenServiceWithContext added in v0.3.2

func HandleARpcServerIAccessTokenServiceWithContext(svr *ARpcServerIAccessTokenServiceWithContext, handler arpc.Handler)

func HandleARpcServerIAuthenticationService

func HandleARpcServerIAuthenticationService(svr *ARpcServerIAuthenticationService, handler arpc.Handler)

func HandleARpcServerIAuthenticationServiceWithContext added in v0.3.2

func HandleARpcServerIAuthenticationServiceWithContext(svr *ARpcServerIAuthenticationServiceWithContext, handler arpc.Handler)

func HandleIAccessTokenService

func HandleIAccessTokenService(srv authentication.IAccessTokenService, handler arpc.Handler)

func HandleIAuthenticationService

func HandleIAuthenticationService(srv authentication.IAuthenticationService, handler arpc.Handler)

func NewARpcIAccessTokenService

func NewARpcIAccessTokenService(client sarpc.Client) authentication.IAccessTokenService

func NewARpcIAccessTokenServiceWithTimeout

func NewARpcIAccessTokenServiceWithTimeout(client sarpc.Client, timeout time.Duration) authentication.IAccessTokenService

func NewARpcIAuthenticationService

func NewARpcIAuthenticationService(client sarpc.Client) authentication.IAuthenticationService

func NewARpcIAuthenticationServiceWithTimeout

func NewARpcIAuthenticationServiceWithTimeout(client sarpc.Client, timeout time.Duration) authentication.IAuthenticationService

Types

type ARpcAppIAccessTokenService

type ARpcAppIAccessTokenService struct {
	// contains filtered or unexported fields
}

func (*ARpcAppIAccessTokenService) Name

func (*ARpcAppIAccessTokenService) RegisterService

func (r *ARpcAppIAccessTokenService) RegisterService(handler arpc.Handler) error

type ARpcAppIAuthenticationService

type ARpcAppIAuthenticationService struct {
	// contains filtered or unexported fields
}

func (*ARpcAppIAuthenticationService) Name

func (*ARpcAppIAuthenticationService) RegisterService

func (r *ARpcAppIAuthenticationService) RegisterService(handler arpc.Handler) error

type ARpcServerIAccessTokenService

type ARpcServerIAccessTokenService struct {
	// contains filtered or unexported fields
}

func (*ARpcServerIAccessTokenService) Create

func (*ARpcServerIAccessTokenService) Delete

func (*ARpcServerIAccessTokenService) List

func (*ARpcServerIAccessTokenService) ListByUser

func (r *ARpcServerIAccessTokenService) ListByUser(c *arpc.Context)

func (*ARpcServerIAccessTokenService) Validate

func (r *ARpcServerIAccessTokenService) Validate(c *arpc.Context)

type ARpcServerIAccessTokenServiceWithContext added in v0.3.2

type ARpcServerIAccessTokenServiceWithContext struct {
	// contains filtered or unexported fields
}

func (*ARpcServerIAccessTokenServiceWithContext) Create added in v0.3.2

func (*ARpcServerIAccessTokenServiceWithContext) Delete added in v0.3.2

func (*ARpcServerIAccessTokenServiceWithContext) List added in v0.3.2

func (*ARpcServerIAccessTokenServiceWithContext) ListByUser added in v0.3.2

func (*ARpcServerIAccessTokenServiceWithContext) Validate added in v0.3.2

type ARpcServerIAuthenticationService

type ARpcServerIAuthenticationService struct {
	// contains filtered or unexported fields
}

func (*ARpcServerIAuthenticationService) AddUser

func (*ARpcServerIAuthenticationService) Authenticate

func (r *ARpcServerIAuthenticationService) Authenticate(c *arpc.Context)

func (*ARpcServerIAuthenticationService) AuthenticateByToken

func (r *ARpcServerIAuthenticationService) AuthenticateByToken(c *arpc.Context)

func (*ARpcServerIAuthenticationService) DeleteUser

func (r *ARpcServerIAuthenticationService) DeleteUser(c *arpc.Context)

func (*ARpcServerIAuthenticationService) HasUser

func (*ARpcServerIAuthenticationService) ListUsers added in v0.3.2

func (*ARpcServerIAuthenticationService) UpdateUser

func (r *ARpcServerIAuthenticationService) UpdateUser(c *arpc.Context)

func (*ARpcServerIAuthenticationService) UserByEmail

func (r *ARpcServerIAuthenticationService) UserByEmail(c *arpc.Context)

func (*ARpcServerIAuthenticationService) UserById

func (*ARpcServerIAuthenticationService) UserByName

func (r *ARpcServerIAuthenticationService) UserByName(c *arpc.Context)

type ARpcServerIAuthenticationServiceWithContext added in v0.3.2

type ARpcServerIAuthenticationServiceWithContext struct {
	// contains filtered or unexported fields
}

func (*ARpcServerIAuthenticationServiceWithContext) AddUser added in v0.3.2

func (*ARpcServerIAuthenticationServiceWithContext) Authenticate added in v0.3.2

func (*ARpcServerIAuthenticationServiceWithContext) AuthenticateByToken added in v0.3.2

func (r *ARpcServerIAuthenticationServiceWithContext) AuthenticateByToken(c *arpc.Context)

func (*ARpcServerIAuthenticationServiceWithContext) DeleteUser added in v0.3.2

func (*ARpcServerIAuthenticationServiceWithContext) HasUser added in v0.3.2

func (*ARpcServerIAuthenticationServiceWithContext) ListUsers added in v0.3.2

func (*ARpcServerIAuthenticationServiceWithContext) UpdateUser added in v0.3.2

func (*ARpcServerIAuthenticationServiceWithContext) UserByEmail added in v0.3.2

func (*ARpcServerIAuthenticationServiceWithContext) UserById added in v0.3.2

func (*ARpcServerIAuthenticationServiceWithContext) UserByName added in v0.3.2

type IAccessTokenServiceCreateArgs

type IAccessTokenServiceCreateArgs struct {
	Val0 string
	Val1 string
	Val2 int64
}

type IAccessTokenServiceCreateResult

type IAccessTokenServiceCreateResult struct {
	Val0 authentication.AccessToken
	Val1 errcode.UnmarshalError
}

type IAccessTokenServiceDeleteArgs

type IAccessTokenServiceDeleteArgs struct {
	Val0 string
}

type IAccessTokenServiceDeleteResult

type IAccessTokenServiceDeleteResult struct {
	Val0 errcode.UnmarshalError
}

type IAccessTokenServiceListArgs

type IAccessTokenServiceListArgs struct {
	Val0 int64
	Val1 int64
}

type IAccessTokenServiceListByUserArgs

type IAccessTokenServiceListByUserArgs struct {
	Val0 string
	Val1 int64
	Val2 int64
}

type IAccessTokenServiceListByUserResult

type IAccessTokenServiceListByUserResult struct {
	Val0 model.PaginationResult[authentication.AccessToken]
	Val1 errcode.UnmarshalError
}

type IAccessTokenServiceListResult

type IAccessTokenServiceListResult struct {
	Val0 model.PaginationResult[authentication.AccessToken]
	Val1 errcode.UnmarshalError
}

type IAccessTokenServiceValidateArgs

type IAccessTokenServiceValidateArgs struct {
	Val0 string
}

type IAccessTokenServiceValidateResult

type IAccessTokenServiceValidateResult struct {
	Val0 string
	Val1 bool
	Val2 errcode.UnmarshalError
}

type IAuthenticationServiceAddUserArgs

type IAuthenticationServiceAddUserArgs struct {
	Val0 string
	Val1 string
}

type IAuthenticationServiceAddUserResult

type IAuthenticationServiceAddUserResult struct {
	Val0 authentication.User
	Val1 errcode.UnmarshalError
}

type IAuthenticationServiceAuthenticateArgs

type IAuthenticationServiceAuthenticateArgs struct {
	Val0 string
	Val1 string
}

type IAuthenticationServiceAuthenticateByTokenArgs

type IAuthenticationServiceAuthenticateByTokenArgs struct {
	Val0 string
}

type IAuthenticationServiceAuthenticateByTokenResult

type IAuthenticationServiceAuthenticateByTokenResult struct {
	Val0 string
	Val1 errcode.UnmarshalError
}

type IAuthenticationServiceAuthenticateResult

type IAuthenticationServiceAuthenticateResult struct {
	Val0 string
	Val1 errcode.UnmarshalError
}

type IAuthenticationServiceDeleteUserArgs

type IAuthenticationServiceDeleteUserArgs struct {
	Val0 string
}

type IAuthenticationServiceDeleteUserResult

type IAuthenticationServiceDeleteUserResult struct {
	Val0 errcode.UnmarshalError
}

type IAuthenticationServiceHasUserArgs

type IAuthenticationServiceHasUserArgs struct {
	Val0 string
}

type IAuthenticationServiceHasUserResult

type IAuthenticationServiceHasUserResult struct {
	Val0 bool
	Val1 errcode.UnmarshalError
}

type IAuthenticationServiceListUsersArgs added in v0.3.2

type IAuthenticationServiceListUsersArgs struct {
	Val0 int64
	Val1 int64
}

type IAuthenticationServiceListUsersResult added in v0.3.2

type IAuthenticationServiceListUsersResult struct {
	Val0 model.PaginationResult[authentication.User]
	Val1 errcode.UnmarshalError
}

type IAuthenticationServiceUpdateUserArgs

type IAuthenticationServiceUpdateUserArgs struct {
	Val0 authentication.User
}

type IAuthenticationServiceUpdateUserResult

type IAuthenticationServiceUpdateUserResult struct {
	Val0 errcode.UnmarshalError
}

type IAuthenticationServiceUserByEmailArgs

type IAuthenticationServiceUserByEmailArgs struct {
	Val0 string
}

type IAuthenticationServiceUserByEmailResult

type IAuthenticationServiceUserByEmailResult struct {
	Val0 authentication.User
	Val1 errcode.UnmarshalError
}

type IAuthenticationServiceUserByIdArgs

type IAuthenticationServiceUserByIdArgs struct {
	Val0 string
}

type IAuthenticationServiceUserByIdResult

type IAuthenticationServiceUserByIdResult struct {
	Val0 authentication.User
	Val1 errcode.UnmarshalError
}

type IAuthenticationServiceUserByNameArgs

type IAuthenticationServiceUserByNameArgs struct {
	Val0 string
}

type IAuthenticationServiceUserByNameResult

type IAuthenticationServiceUserByNameResult struct {
	Val0 authentication.User
	Val1 errcode.UnmarshalError
}

Jump to

Keyboard shortcuts

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