api

package
Version: v0.0.0-...-fe9e027 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func RegisterAuthServer

func RegisterAuthServer(s *grpc.Server, srv AuthServer)

func RegisterDataServer

func RegisterDataServer(s *grpc.Server, srv DataServer)

func RegisterRoleServer

func RegisterRoleServer(s *grpc.Server, srv RoleServer)

func RegisterUserServer

func RegisterUserServer(s *grpc.Server, srv UserServer)

Types

type AuthClient

type AuthClient interface {
	AuthWithCredentials(ctx context.Context, in *AuthWithCredentialsRequest, opts ...grpc.CallOption) (*AuthResponseAccessToken, error)
}

AuthClient is the client API for Auth service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAuthClient

func NewAuthClient(cc grpc.ClientConnInterface) AuthClient

type AuthResponseAccessToken

type AuthResponseAccessToken struct {
	AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthResponseAccessToken) Descriptor deprecated

func (*AuthResponseAccessToken) Descriptor() ([]byte, []int)

Deprecated: Use AuthResponseAccessToken.ProtoReflect.Descriptor instead.

func (*AuthResponseAccessToken) GetAccessToken

func (x *AuthResponseAccessToken) GetAccessToken() string

func (*AuthResponseAccessToken) ProtoMessage

func (*AuthResponseAccessToken) ProtoMessage()

func (*AuthResponseAccessToken) ProtoReflect

func (x *AuthResponseAccessToken) ProtoReflect() protoreflect.Message

func (*AuthResponseAccessToken) Reset

func (x *AuthResponseAccessToken) Reset()

func (*AuthResponseAccessToken) String

func (x *AuthResponseAccessToken) String() string

type AuthServer

type AuthServer interface {
	AuthWithCredentials(context.Context, *AuthWithCredentialsRequest) (*AuthResponseAccessToken, error)
}

AuthServer is the server API for Auth service.

type AuthWithCredentialsRequest

type AuthWithCredentialsRequest struct {
	Login    string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthWithCredentialsRequest) Descriptor deprecated

func (*AuthWithCredentialsRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthWithCredentialsRequest.ProtoReflect.Descriptor instead.

func (*AuthWithCredentialsRequest) GetLogin

func (x *AuthWithCredentialsRequest) GetLogin() string

func (*AuthWithCredentialsRequest) GetPassword

func (x *AuthWithCredentialsRequest) GetPassword() string

func (*AuthWithCredentialsRequest) ProtoMessage

func (*AuthWithCredentialsRequest) ProtoMessage()

func (*AuthWithCredentialsRequest) ProtoReflect

func (*AuthWithCredentialsRequest) Reset

func (x *AuthWithCredentialsRequest) Reset()

func (*AuthWithCredentialsRequest) String

func (x *AuthWithCredentialsRequest) String() string

type CreateRoleByAccessTokenRequest

type CreateRoleByAccessTokenRequest struct {
	AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"`
	Role        string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	CreateUser  bool   `protobuf:"varint,3,opt,name=create_user,json=createUser,proto3" json:"create_user,omitempty"`
	CreateRole  bool   `protobuf:"varint,4,opt,name=create_role,json=createRole,proto3" json:"create_role,omitempty"`
	CreateValue bool   `protobuf:"varint,5,opt,name=create_value,json=createValue,proto3" json:"create_value,omitempty"`
	DeleteUser  bool   `protobuf:"varint,6,opt,name=delete_user,json=deleteUser,proto3" json:"delete_user,omitempty"`
	DeleteRole  bool   `protobuf:"varint,7,opt,name=delete_role,json=deleteRole,proto3" json:"delete_role,omitempty"`
	DeleteValue bool   `protobuf:"varint,8,opt,name=delete_value,json=deleteValue,proto3" json:"delete_value,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRoleByAccessTokenRequest) Descriptor deprecated

func (*CreateRoleByAccessTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateRoleByAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*CreateRoleByAccessTokenRequest) GetAccessToken

func (x *CreateRoleByAccessTokenRequest) GetAccessToken() string

func (*CreateRoleByAccessTokenRequest) GetCreateRole

func (x *CreateRoleByAccessTokenRequest) GetCreateRole() bool

func (*CreateRoleByAccessTokenRequest) GetCreateUser

func (x *CreateRoleByAccessTokenRequest) GetCreateUser() bool

func (*CreateRoleByAccessTokenRequest) GetCreateValue

func (x *CreateRoleByAccessTokenRequest) GetCreateValue() bool

func (*CreateRoleByAccessTokenRequest) GetDeleteRole

func (x *CreateRoleByAccessTokenRequest) GetDeleteRole() bool

func (*CreateRoleByAccessTokenRequest) GetDeleteUser

func (x *CreateRoleByAccessTokenRequest) GetDeleteUser() bool

func (*CreateRoleByAccessTokenRequest) GetDeleteValue

func (x *CreateRoleByAccessTokenRequest) GetDeleteValue() bool

func (*CreateRoleByAccessTokenRequest) GetRole

func (*CreateRoleByAccessTokenRequest) ProtoMessage

func (*CreateRoleByAccessTokenRequest) ProtoMessage()

func (*CreateRoleByAccessTokenRequest) ProtoReflect

func (*CreateRoleByAccessTokenRequest) Reset

func (x *CreateRoleByAccessTokenRequest) Reset()

func (*CreateRoleByAccessTokenRequest) String

type CreateRoleResponseByAccessToken

type CreateRoleResponseByAccessToken struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRoleResponseByAccessToken) Descriptor deprecated

func (*CreateRoleResponseByAccessToken) Descriptor() ([]byte, []int)

Deprecated: Use CreateRoleResponseByAccessToken.ProtoReflect.Descriptor instead.

func (*CreateRoleResponseByAccessToken) GetMessage

func (x *CreateRoleResponseByAccessToken) GetMessage() string

func (*CreateRoleResponseByAccessToken) ProtoMessage

func (*CreateRoleResponseByAccessToken) ProtoMessage()

func (*CreateRoleResponseByAccessToken) ProtoReflect

func (*CreateRoleResponseByAccessToken) Reset

func (*CreateRoleResponseByAccessToken) String

type CreateUserByAccessTokenRequest

type CreateUserByAccessTokenRequest struct {
	AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"`
	Login       string `protobuf:"bytes,2,opt,name=login,proto3" json:"login,omitempty"`
	Password    string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	Role        string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserByAccessTokenRequest) Descriptor deprecated

func (*CreateUserByAccessTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserByAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*CreateUserByAccessTokenRequest) GetAccessToken

func (x *CreateUserByAccessTokenRequest) GetAccessToken() string

func (*CreateUserByAccessTokenRequest) GetLogin

func (x *CreateUserByAccessTokenRequest) GetLogin() string

func (*CreateUserByAccessTokenRequest) GetPassword

func (x *CreateUserByAccessTokenRequest) GetPassword() string

func (*CreateUserByAccessTokenRequest) GetRole

func (*CreateUserByAccessTokenRequest) ProtoMessage

func (*CreateUserByAccessTokenRequest) ProtoMessage()

func (*CreateUserByAccessTokenRequest) ProtoReflect

func (*CreateUserByAccessTokenRequest) Reset

func (x *CreateUserByAccessTokenRequest) Reset()

func (*CreateUserByAccessTokenRequest) String

type CreateUserResponseByAccessToken

type CreateUserResponseByAccessToken struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserResponseByAccessToken) Descriptor deprecated

func (*CreateUserResponseByAccessToken) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserResponseByAccessToken.ProtoReflect.Descriptor instead.

func (*CreateUserResponseByAccessToken) GetMessage

func (x *CreateUserResponseByAccessToken) GetMessage() string

func (*CreateUserResponseByAccessToken) ProtoMessage

func (*CreateUserResponseByAccessToken) ProtoMessage()

func (*CreateUserResponseByAccessToken) ProtoReflect

func (*CreateUserResponseByAccessToken) Reset

func (*CreateUserResponseByAccessToken) String

type CreateValueByAccessTokenRequest

type CreateValueByAccessTokenRequest struct {
	AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"`
	Key         string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Value       string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	Roles       string `protobuf:"bytes,4,opt,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateValueByAccessTokenRequest) Descriptor deprecated

func (*CreateValueByAccessTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateValueByAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*CreateValueByAccessTokenRequest) GetAccessToken

func (x *CreateValueByAccessTokenRequest) GetAccessToken() string

func (*CreateValueByAccessTokenRequest) GetKey

func (*CreateValueByAccessTokenRequest) GetRoles

func (*CreateValueByAccessTokenRequest) GetValue

func (*CreateValueByAccessTokenRequest) ProtoMessage

func (*CreateValueByAccessTokenRequest) ProtoMessage()

func (*CreateValueByAccessTokenRequest) ProtoReflect

func (*CreateValueByAccessTokenRequest) Reset

func (*CreateValueByAccessTokenRequest) String

type CreateValueResponseByAccessToken

type CreateValueResponseByAccessToken struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateValueResponseByAccessToken) Descriptor deprecated

func (*CreateValueResponseByAccessToken) Descriptor() ([]byte, []int)

Deprecated: Use CreateValueResponseByAccessToken.ProtoReflect.Descriptor instead.

func (*CreateValueResponseByAccessToken) GetMessage

func (x *CreateValueResponseByAccessToken) GetMessage() string

func (*CreateValueResponseByAccessToken) ProtoMessage

func (*CreateValueResponseByAccessToken) ProtoMessage()

func (*CreateValueResponseByAccessToken) ProtoReflect

func (*CreateValueResponseByAccessToken) Reset

func (*CreateValueResponseByAccessToken) String

type DataClient

type DataClient interface {
	CreateValueByAccessToken(ctx context.Context, in *CreateValueByAccessTokenRequest, opts ...grpc.CallOption) (*CreateValueResponseByAccessToken, error)
	DeleteValueByAccessToken(ctx context.Context, in *DeleteValueByAccessTokenRequest, opts ...grpc.CallOption) (*DeleteValueResponseByAccessToken, error)
	GetValueByAccessToken(ctx context.Context, in *GetValueByAccessTokenRequest, opts ...grpc.CallOption) (*GetValueResponseByAccessToken, error)
}

DataClient is the client API for Data service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDataClient

func NewDataClient(cc grpc.ClientConnInterface) DataClient

type DataServer

DataServer is the server API for Data service.

type DeleteRoleByAccessTokenRequest

type DeleteRoleByAccessTokenRequest struct {
	AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"`
	Role        string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRoleByAccessTokenRequest) Descriptor deprecated

func (*DeleteRoleByAccessTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRoleByAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*DeleteRoleByAccessTokenRequest) GetAccessToken

func (x *DeleteRoleByAccessTokenRequest) GetAccessToken() string

func (*DeleteRoleByAccessTokenRequest) GetRole

func (*DeleteRoleByAccessTokenRequest) ProtoMessage

func (*DeleteRoleByAccessTokenRequest) ProtoMessage()

func (*DeleteRoleByAccessTokenRequest) ProtoReflect

func (*DeleteRoleByAccessTokenRequest) Reset

func (x *DeleteRoleByAccessTokenRequest) Reset()

func (*DeleteRoleByAccessTokenRequest) String

type DeleteRoleResponseByAccessToken

type DeleteRoleResponseByAccessToken struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRoleResponseByAccessToken) Descriptor deprecated

func (*DeleteRoleResponseByAccessToken) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRoleResponseByAccessToken.ProtoReflect.Descriptor instead.

func (*DeleteRoleResponseByAccessToken) GetMessage

func (x *DeleteRoleResponseByAccessToken) GetMessage() string

func (*DeleteRoleResponseByAccessToken) ProtoMessage

func (*DeleteRoleResponseByAccessToken) ProtoMessage()

func (*DeleteRoleResponseByAccessToken) ProtoReflect

func (*DeleteRoleResponseByAccessToken) Reset

func (*DeleteRoleResponseByAccessToken) String

type DeleteUserByAccessTokenRequest

type DeleteUserByAccessTokenRequest struct {
	AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"`
	Login       string `protobuf:"bytes,2,opt,name=login,proto3" json:"login,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserByAccessTokenRequest) Descriptor deprecated

func (*DeleteUserByAccessTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserByAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserByAccessTokenRequest) GetAccessToken

func (x *DeleteUserByAccessTokenRequest) GetAccessToken() string

func (*DeleteUserByAccessTokenRequest) GetLogin

func (x *DeleteUserByAccessTokenRequest) GetLogin() string

func (*DeleteUserByAccessTokenRequest) ProtoMessage

func (*DeleteUserByAccessTokenRequest) ProtoMessage()

func (*DeleteUserByAccessTokenRequest) ProtoReflect

func (*DeleteUserByAccessTokenRequest) Reset

func (x *DeleteUserByAccessTokenRequest) Reset()

func (*DeleteUserByAccessTokenRequest) String

type DeleteUserResponseByAccessToken

type DeleteUserResponseByAccessToken struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserResponseByAccessToken) Descriptor deprecated

func (*DeleteUserResponseByAccessToken) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserResponseByAccessToken.ProtoReflect.Descriptor instead.

func (*DeleteUserResponseByAccessToken) GetMessage

func (x *DeleteUserResponseByAccessToken) GetMessage() string

func (*DeleteUserResponseByAccessToken) ProtoMessage

func (*DeleteUserResponseByAccessToken) ProtoMessage()

func (*DeleteUserResponseByAccessToken) ProtoReflect

func (*DeleteUserResponseByAccessToken) Reset

func (*DeleteUserResponseByAccessToken) String

type DeleteValueByAccessTokenRequest

type DeleteValueByAccessTokenRequest struct {
	AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"`
	Key         string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteValueByAccessTokenRequest) Descriptor deprecated

func (*DeleteValueByAccessTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteValueByAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*DeleteValueByAccessTokenRequest) GetAccessToken

func (x *DeleteValueByAccessTokenRequest) GetAccessToken() string

func (*DeleteValueByAccessTokenRequest) GetKey

func (*DeleteValueByAccessTokenRequest) ProtoMessage

func (*DeleteValueByAccessTokenRequest) ProtoMessage()

func (*DeleteValueByAccessTokenRequest) ProtoReflect

func (*DeleteValueByAccessTokenRequest) Reset

func (*DeleteValueByAccessTokenRequest) String

type DeleteValueResponseByAccessToken

type DeleteValueResponseByAccessToken struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteValueResponseByAccessToken) Descriptor deprecated

func (*DeleteValueResponseByAccessToken) Descriptor() ([]byte, []int)

Deprecated: Use DeleteValueResponseByAccessToken.ProtoReflect.Descriptor instead.

func (*DeleteValueResponseByAccessToken) GetMessage

func (x *DeleteValueResponseByAccessToken) GetMessage() string

func (*DeleteValueResponseByAccessToken) ProtoMessage

func (*DeleteValueResponseByAccessToken) ProtoMessage()

func (*DeleteValueResponseByAccessToken) ProtoReflect

func (*DeleteValueResponseByAccessToken) Reset

func (*DeleteValueResponseByAccessToken) String

type GetValueByAccessTokenRequest

type GetValueByAccessTokenRequest struct {
	AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"`
	Key         string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetValueByAccessTokenRequest) Descriptor deprecated

func (*GetValueByAccessTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetValueByAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*GetValueByAccessTokenRequest) GetAccessToken

func (x *GetValueByAccessTokenRequest) GetAccessToken() string

func (*GetValueByAccessTokenRequest) GetKey

func (*GetValueByAccessTokenRequest) ProtoMessage

func (*GetValueByAccessTokenRequest) ProtoMessage()

func (*GetValueByAccessTokenRequest) ProtoReflect

func (*GetValueByAccessTokenRequest) Reset

func (x *GetValueByAccessTokenRequest) Reset()

func (*GetValueByAccessTokenRequest) String

type GetValueResponseByAccessToken

type GetValueResponseByAccessToken struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*GetValueResponseByAccessToken) Descriptor deprecated

func (*GetValueResponseByAccessToken) Descriptor() ([]byte, []int)

Deprecated: Use GetValueResponseByAccessToken.ProtoReflect.Descriptor instead.

func (*GetValueResponseByAccessToken) GetValue

func (x *GetValueResponseByAccessToken) GetValue() string

func (*GetValueResponseByAccessToken) ProtoMessage

func (*GetValueResponseByAccessToken) ProtoMessage()

func (*GetValueResponseByAccessToken) ProtoReflect

func (*GetValueResponseByAccessToken) Reset

func (x *GetValueResponseByAccessToken) Reset()

func (*GetValueResponseByAccessToken) String

type RoleClient

type RoleClient interface {
	CreateRoleByAccessToken(ctx context.Context, in *CreateRoleByAccessTokenRequest, opts ...grpc.CallOption) (*CreateRoleResponseByAccessToken, error)
	DeleteRoleByAccessToken(ctx context.Context, in *DeleteRoleByAccessTokenRequest, opts ...grpc.CallOption) (*DeleteRoleResponseByAccessToken, error)
}

RoleClient is the client API for Role service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRoleClient

func NewRoleClient(cc grpc.ClientConnInterface) RoleClient

type RoleServer

RoleServer is the server API for Role service.

type UnimplementedAuthServer

type UnimplementedAuthServer struct {
}

UnimplementedAuthServer can be embedded to have forward compatible implementations.

func (*UnimplementedAuthServer) AuthWithCredentials

type UnimplementedDataServer

type UnimplementedDataServer struct {
}

UnimplementedDataServer can be embedded to have forward compatible implementations.

type UnimplementedRoleServer

type UnimplementedRoleServer struct {
}

UnimplementedRoleServer can be embedded to have forward compatible implementations.

type UnimplementedUserServer

type UnimplementedUserServer struct {
}

UnimplementedUserServer can be embedded to have forward compatible implementations.

type UpdatePasswordByAccessTokenRequest

type UpdatePasswordByAccessTokenRequest struct {
	AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"`
	Password    string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePasswordByAccessTokenRequest) Descriptor deprecated

func (*UpdatePasswordByAccessTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePasswordByAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*UpdatePasswordByAccessTokenRequest) GetAccessToken

func (x *UpdatePasswordByAccessTokenRequest) GetAccessToken() string

func (*UpdatePasswordByAccessTokenRequest) GetPassword

func (x *UpdatePasswordByAccessTokenRequest) GetPassword() string

func (*UpdatePasswordByAccessTokenRequest) ProtoMessage

func (*UpdatePasswordByAccessTokenRequest) ProtoMessage()

func (*UpdatePasswordByAccessTokenRequest) ProtoReflect

func (*UpdatePasswordByAccessTokenRequest) Reset

func (*UpdatePasswordByAccessTokenRequest) String

type UpdatePasswordResponseByAccessToken

type UpdatePasswordResponseByAccessToken struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePasswordResponseByAccessToken) Descriptor deprecated

func (*UpdatePasswordResponseByAccessToken) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePasswordResponseByAccessToken.ProtoReflect.Descriptor instead.

func (*UpdatePasswordResponseByAccessToken) GetMessage

func (*UpdatePasswordResponseByAccessToken) ProtoMessage

func (*UpdatePasswordResponseByAccessToken) ProtoMessage()

func (*UpdatePasswordResponseByAccessToken) ProtoReflect

func (*UpdatePasswordResponseByAccessToken) Reset

func (*UpdatePasswordResponseByAccessToken) String

type UserClient

type UserClient interface {
	CreateUserByAccessToken(ctx context.Context, in *CreateUserByAccessTokenRequest, opts ...grpc.CallOption) (*CreateUserResponseByAccessToken, error)
	DeleteUserByAccessToken(ctx context.Context, in *DeleteUserByAccessTokenRequest, opts ...grpc.CallOption) (*DeleteUserResponseByAccessToken, error)
	UpdatePasswordByAccessToken(ctx context.Context, in *UpdatePasswordByAccessTokenRequest, opts ...grpc.CallOption) (*UpdatePasswordResponseByAccessToken, error)
}

UserClient is the client API for User service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewUserClient

func NewUserClient(cc grpc.ClientConnInterface) UserClient

type UserServer

UserServer is the server API for User service.

Jump to

Keyboard shortcuts

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