admin

package
v0.0.0-...-b8b67ef Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Account_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.admin.Account",
	HandlerType: (*AccountServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateAccount",
			Handler:    _Account_CreateAccount_Handler,
		},
		{
			MethodName: "UpdateAccount",
			Handler:    _Account_UpdateAccount_Handler,
		},
		{
			MethodName: "DeleteAccount",
			Handler:    _Account_DeleteAccount_Handler,
		},
		{
			MethodName: "GetAccount",
			Handler:    _Account_GetAccount_Handler,
		},
		{
			MethodName: "ListAccount",
			Handler:    _Account_ListAccount_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/admin/account.proto",
}

Account_ServiceDesc is the grpc.ServiceDesc for Account service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_api_admin_account_proto protoreflect.FileDescriptor
View Source
var File_api_admin_group_proto protoreflect.FileDescriptor
View Source
var File_api_admin_team_proto protoreflect.FileDescriptor
View Source
var Group_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.admin.Group",
	HandlerType: (*GroupServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateGroup",
			Handler:    _Group_CreateGroup_Handler,
		},
		{
			MethodName: "UpdateGroup",
			Handler:    _Group_UpdateGroup_Handler,
		},
		{
			MethodName: "DeleteGroup",
			Handler:    _Group_DeleteGroup_Handler,
		},
		{
			MethodName: "GetGroup",
			Handler:    _Group_GetGroup_Handler,
		},
		{
			MethodName: "ListGroup",
			Handler:    _Group_ListGroup_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/admin/group.proto",
}

Group_ServiceDesc is the grpc.ServiceDesc for Group service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Team_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.admin.Team",
	HandlerType: (*TeamServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateTeam",
			Handler:    _Team_CreateTeam_Handler,
		},
		{
			MethodName: "UpdateTeam",
			Handler:    _Team_UpdateTeam_Handler,
		},
		{
			MethodName: "DeleteTeam",
			Handler:    _Team_DeleteTeam_Handler,
		},
		{
			MethodName: "GetTeam",
			Handler:    _Team_GetTeam_Handler,
		},
		{
			MethodName: "ListTeam",
			Handler:    _Team_ListTeam_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/admin/team.proto",
}

Team_ServiceDesc is the grpc.ServiceDesc for Team service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAccountHTTPServer

func RegisterAccountHTTPServer(s *http.Server, srv AccountHTTPServer)

func RegisterAccountServer

func RegisterAccountServer(s grpc.ServiceRegistrar, srv AccountServer)

func RegisterGroupServer

func RegisterGroupServer(s grpc.ServiceRegistrar, srv GroupServer)

func RegisterTeamServer

func RegisterTeamServer(s grpc.ServiceRegistrar, srv TeamServer)

Types

type AccountClient

type AccountClient interface {
	CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...grpc.CallOption) (*CreateAccountReply, error)
	UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*UpdateAccountReply, error)
	DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*DeleteAccountReply, error)
	GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountReply, error)
	ListAccount(ctx context.Context, in *ListAccountRequest, opts ...grpc.CallOption) (*ListAccountReply, error)
}

AccountClient is the client API for Account service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAccountClient

func NewAccountClient(cc grpc.ClientConnInterface) AccountClient

type AccountHTTPClient

type AccountHTTPClient interface {
	CreateAccount(ctx context.Context, req *CreateAccountRequest, opts ...http.CallOption) (rsp *CreateAccountReply, err error)
}

func NewAccountHTTPClient

func NewAccountHTTPClient(client *http.Client) AccountHTTPClient

type AccountHTTPClientImpl

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

func (*AccountHTTPClientImpl) CreateAccount

type AccountHTTPServer

type AccountHTTPServer interface {
	CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountReply, error)
}

type AccountServer

type AccountServer interface {
	CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountReply, error)
	UpdateAccount(context.Context, *UpdateAccountRequest) (*UpdateAccountReply, error)
	DeleteAccount(context.Context, *DeleteAccountRequest) (*DeleteAccountReply, error)
	GetAccount(context.Context, *GetAccountRequest) (*GetAccountReply, error)
	ListAccount(context.Context, *ListAccountRequest) (*ListAccountReply, error)
	// contains filtered or unexported methods
}

AccountServer is the server API for Account service. All implementations must embed UnimplementedAccountServer for forward compatibility

type CreateAccountReply

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

func (*CreateAccountReply) Descriptor deprecated

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

Deprecated: Use CreateAccountReply.ProtoReflect.Descriptor instead.

func (*CreateAccountReply) GetMessage

func (x *CreateAccountReply) GetMessage() string

func (*CreateAccountReply) ProtoMessage

func (*CreateAccountReply) ProtoMessage()

func (*CreateAccountReply) ProtoReflect

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

func (*CreateAccountReply) Reset

func (x *CreateAccountReply) Reset()

func (*CreateAccountReply) String

func (x *CreateAccountReply) String() string

type CreateAccountRequest

type CreateAccountRequest struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountRequest) Descriptor deprecated

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

Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.

func (*CreateAccountRequest) GetEmail

func (x *CreateAccountRequest) GetEmail() string

func (*CreateAccountRequest) GetName

func (x *CreateAccountRequest) GetName() string

func (*CreateAccountRequest) ProtoMessage

func (*CreateAccountRequest) ProtoMessage()

func (*CreateAccountRequest) ProtoReflect

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

func (*CreateAccountRequest) Reset

func (x *CreateAccountRequest) Reset()

func (*CreateAccountRequest) String

func (x *CreateAccountRequest) String() string

type CreateGroupReply

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

func (*CreateGroupReply) Descriptor deprecated

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

Deprecated: Use CreateGroupReply.ProtoReflect.Descriptor instead.

func (*CreateGroupReply) ProtoMessage

func (*CreateGroupReply) ProtoMessage()

func (*CreateGroupReply) ProtoReflect

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

func (*CreateGroupReply) Reset

func (x *CreateGroupReply) Reset()

func (*CreateGroupReply) String

func (x *CreateGroupReply) String() string

type CreateGroupRequest

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

func (*CreateGroupRequest) Descriptor deprecated

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

Deprecated: Use CreateGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateGroupRequest) ProtoMessage

func (*CreateGroupRequest) ProtoMessage()

func (*CreateGroupRequest) ProtoReflect

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

func (*CreateGroupRequest) Reset

func (x *CreateGroupRequest) Reset()

func (*CreateGroupRequest) String

func (x *CreateGroupRequest) String() string

type CreateTeamReply

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

func (*CreateTeamReply) Descriptor deprecated

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

Deprecated: Use CreateTeamReply.ProtoReflect.Descriptor instead.

func (*CreateTeamReply) ProtoMessage

func (*CreateTeamReply) ProtoMessage()

func (*CreateTeamReply) ProtoReflect

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

func (*CreateTeamReply) Reset

func (x *CreateTeamReply) Reset()

func (*CreateTeamReply) String

func (x *CreateTeamReply) String() string

type CreateTeamRequest

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

func (*CreateTeamRequest) Descriptor deprecated

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

Deprecated: Use CreateTeamRequest.ProtoReflect.Descriptor instead.

func (*CreateTeamRequest) ProtoMessage

func (*CreateTeamRequest) ProtoMessage()

func (*CreateTeamRequest) ProtoReflect

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

func (*CreateTeamRequest) Reset

func (x *CreateTeamRequest) Reset()

func (*CreateTeamRequest) String

func (x *CreateTeamRequest) String() string

type DeleteAccountReply

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

func (*DeleteAccountReply) Descriptor deprecated

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

Deprecated: Use DeleteAccountReply.ProtoReflect.Descriptor instead.

func (*DeleteAccountReply) ProtoMessage

func (*DeleteAccountReply) ProtoMessage()

func (*DeleteAccountReply) ProtoReflect

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

func (*DeleteAccountReply) Reset

func (x *DeleteAccountReply) Reset()

func (*DeleteAccountReply) String

func (x *DeleteAccountReply) String() string

type DeleteAccountRequest

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

func (*DeleteAccountRequest) Descriptor deprecated

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

Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead.

func (*DeleteAccountRequest) ProtoMessage

func (*DeleteAccountRequest) ProtoMessage()

func (*DeleteAccountRequest) ProtoReflect

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

func (*DeleteAccountRequest) Reset

func (x *DeleteAccountRequest) Reset()

func (*DeleteAccountRequest) String

func (x *DeleteAccountRequest) String() string

type DeleteGroupReply

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

func (*DeleteGroupReply) Descriptor deprecated

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

Deprecated: Use DeleteGroupReply.ProtoReflect.Descriptor instead.

func (*DeleteGroupReply) ProtoMessage

func (*DeleteGroupReply) ProtoMessage()

func (*DeleteGroupReply) ProtoReflect

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

func (*DeleteGroupReply) Reset

func (x *DeleteGroupReply) Reset()

func (*DeleteGroupReply) String

func (x *DeleteGroupReply) String() string

type DeleteGroupRequest

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

func (*DeleteGroupRequest) Descriptor deprecated

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

Deprecated: Use DeleteGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteGroupRequest) ProtoMessage

func (*DeleteGroupRequest) ProtoMessage()

func (*DeleteGroupRequest) ProtoReflect

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

func (*DeleteGroupRequest) Reset

func (x *DeleteGroupRequest) Reset()

func (*DeleteGroupRequest) String

func (x *DeleteGroupRequest) String() string

type DeleteTeamReply

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

func (*DeleteTeamReply) Descriptor deprecated

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

Deprecated: Use DeleteTeamReply.ProtoReflect.Descriptor instead.

func (*DeleteTeamReply) ProtoMessage

func (*DeleteTeamReply) ProtoMessage()

func (*DeleteTeamReply) ProtoReflect

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

func (*DeleteTeamReply) Reset

func (x *DeleteTeamReply) Reset()

func (*DeleteTeamReply) String

func (x *DeleteTeamReply) String() string

type DeleteTeamRequest

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

func (*DeleteTeamRequest) Descriptor deprecated

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

Deprecated: Use DeleteTeamRequest.ProtoReflect.Descriptor instead.

func (*DeleteTeamRequest) ProtoMessage

func (*DeleteTeamRequest) ProtoMessage()

func (*DeleteTeamRequest) ProtoReflect

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

func (*DeleteTeamRequest) Reset

func (x *DeleteTeamRequest) Reset()

func (*DeleteTeamRequest) String

func (x *DeleteTeamRequest) String() string

type GetAccountReply

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

func (*GetAccountReply) Descriptor deprecated

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

Deprecated: Use GetAccountReply.ProtoReflect.Descriptor instead.

func (*GetAccountReply) ProtoMessage

func (*GetAccountReply) ProtoMessage()

func (*GetAccountReply) ProtoReflect

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

func (*GetAccountReply) Reset

func (x *GetAccountReply) Reset()

func (*GetAccountReply) String

func (x *GetAccountReply) String() string

type GetAccountRequest

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

func (*GetAccountRequest) Descriptor deprecated

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

Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.

func (*GetAccountRequest) ProtoMessage

func (*GetAccountRequest) ProtoMessage()

func (*GetAccountRequest) ProtoReflect

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

func (*GetAccountRequest) Reset

func (x *GetAccountRequest) Reset()

func (*GetAccountRequest) String

func (x *GetAccountRequest) String() string

type GetGroupReply

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

func (*GetGroupReply) Descriptor deprecated

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

Deprecated: Use GetGroupReply.ProtoReflect.Descriptor instead.

func (*GetGroupReply) ProtoMessage

func (*GetGroupReply) ProtoMessage()

func (*GetGroupReply) ProtoReflect

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

func (*GetGroupReply) Reset

func (x *GetGroupReply) Reset()

func (*GetGroupReply) String

func (x *GetGroupReply) String() string

type GetGroupRequest

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

func (*GetGroupRequest) Descriptor deprecated

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

Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead.

func (*GetGroupRequest) ProtoMessage

func (*GetGroupRequest) ProtoMessage()

func (*GetGroupRequest) ProtoReflect

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

func (*GetGroupRequest) Reset

func (x *GetGroupRequest) Reset()

func (*GetGroupRequest) String

func (x *GetGroupRequest) String() string

type GetTeamReply

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

func (*GetTeamReply) Descriptor deprecated

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

Deprecated: Use GetTeamReply.ProtoReflect.Descriptor instead.

func (*GetTeamReply) ProtoMessage

func (*GetTeamReply) ProtoMessage()

func (*GetTeamReply) ProtoReflect

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

func (*GetTeamReply) Reset

func (x *GetTeamReply) Reset()

func (*GetTeamReply) String

func (x *GetTeamReply) String() string

type GetTeamRequest

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

func (*GetTeamRequest) Descriptor deprecated

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

Deprecated: Use GetTeamRequest.ProtoReflect.Descriptor instead.

func (*GetTeamRequest) ProtoMessage

func (*GetTeamRequest) ProtoMessage()

func (*GetTeamRequest) ProtoReflect

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

func (*GetTeamRequest) Reset

func (x *GetTeamRequest) Reset()

func (*GetTeamRequest) String

func (x *GetTeamRequest) String() string

type GroupClient

type GroupClient interface {
	CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*CreateGroupReply, error)
	UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*UpdateGroupReply, error)
	DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*DeleteGroupReply, error)
	GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*GetGroupReply, error)
	ListGroup(ctx context.Context, in *ListGroupRequest, opts ...grpc.CallOption) (*ListGroupReply, error)
}

GroupClient is the client API for Group service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewGroupClient

func NewGroupClient(cc grpc.ClientConnInterface) GroupClient

type GroupServer

type GroupServer interface {
	CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupReply, error)
	UpdateGroup(context.Context, *UpdateGroupRequest) (*UpdateGroupReply, error)
	DeleteGroup(context.Context, *DeleteGroupRequest) (*DeleteGroupReply, error)
	GetGroup(context.Context, *GetGroupRequest) (*GetGroupReply, error)
	ListGroup(context.Context, *ListGroupRequest) (*ListGroupReply, error)
	// contains filtered or unexported methods
}

GroupServer is the server API for Group service. All implementations must embed UnimplementedGroupServer for forward compatibility

type ListAccountReply

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

func (*ListAccountReply) Descriptor deprecated

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

Deprecated: Use ListAccountReply.ProtoReflect.Descriptor instead.

func (*ListAccountReply) ProtoMessage

func (*ListAccountReply) ProtoMessage()

func (*ListAccountReply) ProtoReflect

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

func (*ListAccountReply) Reset

func (x *ListAccountReply) Reset()

func (*ListAccountReply) String

func (x *ListAccountReply) String() string

type ListAccountRequest

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

func (*ListAccountRequest) Descriptor deprecated

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

Deprecated: Use ListAccountRequest.ProtoReflect.Descriptor instead.

func (*ListAccountRequest) ProtoMessage

func (*ListAccountRequest) ProtoMessage()

func (*ListAccountRequest) ProtoReflect

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

func (*ListAccountRequest) Reset

func (x *ListAccountRequest) Reset()

func (*ListAccountRequest) String

func (x *ListAccountRequest) String() string

type ListGroupReply

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

func (*ListGroupReply) Descriptor deprecated

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

Deprecated: Use ListGroupReply.ProtoReflect.Descriptor instead.

func (*ListGroupReply) ProtoMessage

func (*ListGroupReply) ProtoMessage()

func (*ListGroupReply) ProtoReflect

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

func (*ListGroupReply) Reset

func (x *ListGroupReply) Reset()

func (*ListGroupReply) String

func (x *ListGroupReply) String() string

type ListGroupRequest

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

func (*ListGroupRequest) Descriptor deprecated

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

Deprecated: Use ListGroupRequest.ProtoReflect.Descriptor instead.

func (*ListGroupRequest) ProtoMessage

func (*ListGroupRequest) ProtoMessage()

func (*ListGroupRequest) ProtoReflect

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

func (*ListGroupRequest) Reset

func (x *ListGroupRequest) Reset()

func (*ListGroupRequest) String

func (x *ListGroupRequest) String() string

type ListTeamReply

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

func (*ListTeamReply) Descriptor deprecated

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

Deprecated: Use ListTeamReply.ProtoReflect.Descriptor instead.

func (*ListTeamReply) ProtoMessage

func (*ListTeamReply) ProtoMessage()

func (*ListTeamReply) ProtoReflect

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

func (*ListTeamReply) Reset

func (x *ListTeamReply) Reset()

func (*ListTeamReply) String

func (x *ListTeamReply) String() string

type ListTeamRequest

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

func (*ListTeamRequest) Descriptor deprecated

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

Deprecated: Use ListTeamRequest.ProtoReflect.Descriptor instead.

func (*ListTeamRequest) ProtoMessage

func (*ListTeamRequest) ProtoMessage()

func (*ListTeamRequest) ProtoReflect

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

func (*ListTeamRequest) Reset

func (x *ListTeamRequest) Reset()

func (*ListTeamRequest) String

func (x *ListTeamRequest) String() string

type TeamClient

type TeamClient interface {
	CreateTeam(ctx context.Context, in *CreateTeamRequest, opts ...grpc.CallOption) (*CreateTeamReply, error)
	UpdateTeam(ctx context.Context, in *UpdateTeamRequest, opts ...grpc.CallOption) (*UpdateTeamReply, error)
	DeleteTeam(ctx context.Context, in *DeleteTeamRequest, opts ...grpc.CallOption) (*DeleteTeamReply, error)
	GetTeam(ctx context.Context, in *GetTeamRequest, opts ...grpc.CallOption) (*GetTeamReply, error)
	ListTeam(ctx context.Context, in *ListTeamRequest, opts ...grpc.CallOption) (*ListTeamReply, error)
}

TeamClient is the client API for Team service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewTeamClient

func NewTeamClient(cc grpc.ClientConnInterface) TeamClient

type TeamServer

type TeamServer interface {
	CreateTeam(context.Context, *CreateTeamRequest) (*CreateTeamReply, error)
	UpdateTeam(context.Context, *UpdateTeamRequest) (*UpdateTeamReply, error)
	DeleteTeam(context.Context, *DeleteTeamRequest) (*DeleteTeamReply, error)
	GetTeam(context.Context, *GetTeamRequest) (*GetTeamReply, error)
	ListTeam(context.Context, *ListTeamRequest) (*ListTeamReply, error)
	// contains filtered or unexported methods
}

TeamServer is the server API for Team service. All implementations must embed UnimplementedTeamServer for forward compatibility

type UnimplementedAccountServer

type UnimplementedAccountServer struct {
}

UnimplementedAccountServer must be embedded to have forward compatible implementations.

func (UnimplementedAccountServer) CreateAccount

func (UnimplementedAccountServer) DeleteAccount

func (UnimplementedAccountServer) GetAccount

func (UnimplementedAccountServer) ListAccount

func (UnimplementedAccountServer) UpdateAccount

type UnimplementedGroupServer

type UnimplementedGroupServer struct {
}

UnimplementedGroupServer must be embedded to have forward compatible implementations.

func (UnimplementedGroupServer) CreateGroup

func (UnimplementedGroupServer) DeleteGroup

func (UnimplementedGroupServer) GetGroup

func (UnimplementedGroupServer) ListGroup

func (UnimplementedGroupServer) UpdateGroup

type UnimplementedTeamServer

type UnimplementedTeamServer struct {
}

UnimplementedTeamServer must be embedded to have forward compatible implementations.

func (UnimplementedTeamServer) CreateTeam

func (UnimplementedTeamServer) DeleteTeam

func (UnimplementedTeamServer) GetTeam

func (UnimplementedTeamServer) ListTeam

func (UnimplementedTeamServer) UpdateTeam

type UnsafeAccountServer

type UnsafeAccountServer interface {
	// contains filtered or unexported methods
}

UnsafeAccountServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccountServer will result in compilation errors.

type UnsafeGroupServer

type UnsafeGroupServer interface {
	// contains filtered or unexported methods
}

UnsafeGroupServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GroupServer will result in compilation errors.

type UnsafeTeamServer

type UnsafeTeamServer interface {
	// contains filtered or unexported methods
}

UnsafeTeamServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TeamServer will result in compilation errors.

type UpdateAccountReply

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

func (*UpdateAccountReply) Descriptor deprecated

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

Deprecated: Use UpdateAccountReply.ProtoReflect.Descriptor instead.

func (*UpdateAccountReply) ProtoMessage

func (*UpdateAccountReply) ProtoMessage()

func (*UpdateAccountReply) ProtoReflect

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

func (*UpdateAccountReply) Reset

func (x *UpdateAccountReply) Reset()

func (*UpdateAccountReply) String

func (x *UpdateAccountReply) String() string

type UpdateAccountRequest

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

func (*UpdateAccountRequest) Descriptor deprecated

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

Deprecated: Use UpdateAccountRequest.ProtoReflect.Descriptor instead.

func (*UpdateAccountRequest) ProtoMessage

func (*UpdateAccountRequest) ProtoMessage()

func (*UpdateAccountRequest) ProtoReflect

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

func (*UpdateAccountRequest) Reset

func (x *UpdateAccountRequest) Reset()

func (*UpdateAccountRequest) String

func (x *UpdateAccountRequest) String() string

type UpdateGroupReply

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

func (*UpdateGroupReply) Descriptor deprecated

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

Deprecated: Use UpdateGroupReply.ProtoReflect.Descriptor instead.

func (*UpdateGroupReply) ProtoMessage

func (*UpdateGroupReply) ProtoMessage()

func (*UpdateGroupReply) ProtoReflect

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

func (*UpdateGroupReply) Reset

func (x *UpdateGroupReply) Reset()

func (*UpdateGroupReply) String

func (x *UpdateGroupReply) String() string

type UpdateGroupRequest

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

func (*UpdateGroupRequest) Descriptor deprecated

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

Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateGroupRequest) ProtoMessage

func (*UpdateGroupRequest) ProtoMessage()

func (*UpdateGroupRequest) ProtoReflect

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

func (*UpdateGroupRequest) Reset

func (x *UpdateGroupRequest) Reset()

func (*UpdateGroupRequest) String

func (x *UpdateGroupRequest) String() string

type UpdateTeamReply

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

func (*UpdateTeamReply) Descriptor deprecated

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

Deprecated: Use UpdateTeamReply.ProtoReflect.Descriptor instead.

func (*UpdateTeamReply) ProtoMessage

func (*UpdateTeamReply) ProtoMessage()

func (*UpdateTeamReply) ProtoReflect

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

func (*UpdateTeamReply) Reset

func (x *UpdateTeamReply) Reset()

func (*UpdateTeamReply) String

func (x *UpdateTeamReply) String() string

type UpdateTeamRequest

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

func (*UpdateTeamRequest) Descriptor deprecated

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

Deprecated: Use UpdateTeamRequest.ProtoReflect.Descriptor instead.

func (*UpdateTeamRequest) ProtoMessage

func (*UpdateTeamRequest) ProtoMessage()

func (*UpdateTeamRequest) ProtoReflect

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

func (*UpdateTeamRequest) Reset

func (x *UpdateTeamRequest) Reset()

func (*UpdateTeamRequest) String

func (x *UpdateTeamRequest) String() string

Jump to

Keyboard shortcuts

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