organization

package
v0.0.0-...-c6647e5 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Organization_CreateOrganization_FullMethodName = "/atreus.organization.Organization/CreateOrganization"
	Organization_QueryOrganization_FullMethodName  = "/atreus.organization.Organization/QueryOrganization"
	Organization_UpdateOrganization_FullMethodName = "/atreus.organization.Organization/UpdateOrganization"
	Organization_DeleteOrganization_FullMethodName = "/atreus.organization.Organization/DeleteOrganization"
	Organization_ListOrganization_FullMethodName   = "/atreus.organization.Organization/ListOrganization"
	Organization_OrganizationTree_FullMethodName   = "/atreus.organization.Organization/OrganizationTree"
)
View Source
const OperationOrganizationCreateOrganization = "/atreus.organization.Organization/CreateOrganization"
View Source
const OperationOrganizationDeleteOrganization = "/atreus.organization.Organization/DeleteOrganization"
View Source
const OperationOrganizationListOrganization = "/atreus.organization.Organization/ListOrganization"
View Source
const OperationOrganizationOrganizationTree = "/atreus.organization.Organization/OrganizationTree"
View Source
const OperationOrganizationQueryOrganization = "/atreus.organization.Organization/QueryOrganization"
View Source
const OperationOrganizationUpdateOrganization = "/atreus.organization.Organization/UpdateOrganization"

Variables

View Source
var File_api_organization_organization_proto protoreflect.FileDescriptor
View Source
var Organization_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "atreus.organization.Organization",
	HandlerType: (*OrganizationServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateOrganization",
			Handler:    _Organization_CreateOrganization_Handler,
		},
		{
			MethodName: "QueryOrganization",
			Handler:    _Organization_QueryOrganization_Handler,
		},
		{
			MethodName: "UpdateOrganization",
			Handler:    _Organization_UpdateOrganization_Handler,
		},
		{
			MethodName: "DeleteOrganization",
			Handler:    _Organization_DeleteOrganization_Handler,
		},
		{
			MethodName: "ListOrganization",
			Handler:    _Organization_ListOrganization_Handler,
		},
		{
			MethodName: "OrganizationTree",
			Handler:    _Organization_OrganizationTree_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/organization/organization.proto",
}

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

Functions

func DefaultDeleteSysOrganization

func DefaultDeleteSysOrganization(ctx context.Context, in *SysOrganization, db *gorm.DB) error

func DefaultDeleteSysOrganizationSet

func DefaultDeleteSysOrganizationSet(ctx context.Context, in []*SysOrganization, db *gorm.DB) error

func RegisterOrganizationHTTPServer

func RegisterOrganizationHTTPServer(s *http.Server, srv OrganizationHTTPServer)

func RegisterOrganizationServer

func RegisterOrganizationServer(s grpc.ServiceRegistrar, srv OrganizationServer)

Types

type ListSysOrganization

type ListSysOrganization struct {

	// 组织列表
	Results []*SysOrganization `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// 总数
	Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSysOrganization) Descriptor deprecated

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

Deprecated: Use ListSysOrganization.ProtoReflect.Descriptor instead.

func (*ListSysOrganization) GetResults

func (x *ListSysOrganization) GetResults() []*SysOrganization

func (*ListSysOrganization) GetTotal

func (x *ListSysOrganization) GetTotal() int64

func (*ListSysOrganization) ProtoMessage

func (*ListSysOrganization) ProtoMessage()

func (*ListSysOrganization) ProtoReflect

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

func (*ListSysOrganization) Reset

func (x *ListSysOrganization) Reset()

func (*ListSysOrganization) String

func (x *ListSysOrganization) String() string

type OrganizationClient

type OrganizationClient interface {
	// 创建组织
	CreateOrganization(ctx context.Context, in *SysOrganization, opts ...grpc.CallOption) (*SysOrganization, error)
	// 查询组织
	QueryOrganization(ctx context.Context, in *SysOrganization, opts ...grpc.CallOption) (*SysOrganization, error)
	// 更新组织
	UpdateOrganization(ctx context.Context, in *SysOrganization, opts ...grpc.CallOption) (*SysOrganization, error)
	// 删除组织
	DeleteOrganization(ctx context.Context, in *SysOrganization, opts ...grpc.CallOption) (*SysOrganization, error)
	// 获取所有组织
	ListOrganization(ctx context.Context, in *SysOrganization, opts ...grpc.CallOption) (*ListSysOrganization, error)
	// 获取组织树
	OrganizationTree(ctx context.Context, in *SysOrganization, opts ...grpc.CallOption) (*ListSysOrganization, error)
}

OrganizationClient is the client API for Organization 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.

type OrganizationDefaultServer

type OrganizationDefaultServer struct {
	DB *gorm.DB
}

func (*OrganizationDefaultServer) CreateOrganization

func (m *OrganizationDefaultServer) CreateOrganization(ctx context.Context, in *SysOrganization) (*SysOrganization, error)

CreateOrganization ...

func (*OrganizationDefaultServer) DeleteOrganization

func (m *OrganizationDefaultServer) DeleteOrganization(ctx context.Context, in *SysOrganization) (*SysOrganization, error)

DeleteOrganization ...

func (*OrganizationDefaultServer) ListOrganization

ListOrganization ...

func (*OrganizationDefaultServer) UpdateOrganization

func (m *OrganizationDefaultServer) UpdateOrganization(ctx context.Context, in *SysOrganization) (*SysOrganization, error)

UpdateOrganization ...

type OrganizationHTTPClient

type OrganizationHTTPClient interface {
	CreateOrganization(ctx context.Context, req *SysOrganization, opts ...http.CallOption) (rsp *SysOrganization, err error)
	DeleteOrganization(ctx context.Context, req *SysOrganization, opts ...http.CallOption) (rsp *SysOrganization, err error)
	ListOrganization(ctx context.Context, req *SysOrganization, opts ...http.CallOption) (rsp *ListSysOrganization, err error)
	OrganizationTree(ctx context.Context, req *SysOrganization, opts ...http.CallOption) (rsp *ListSysOrganization, err error)
	QueryOrganization(ctx context.Context, req *SysOrganization, opts ...http.CallOption) (rsp *SysOrganization, err error)
	UpdateOrganization(ctx context.Context, req *SysOrganization, opts ...http.CallOption) (rsp *SysOrganization, err error)
}

func NewOrganizationHTTPClient

func NewOrganizationHTTPClient(client *http.Client) OrganizationHTTPClient

type OrganizationHTTPClientImpl

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

func (*OrganizationHTTPClientImpl) CreateOrganization

func (c *OrganizationHTTPClientImpl) CreateOrganization(ctx context.Context, in *SysOrganization, opts ...http.CallOption) (*SysOrganization, error)

func (*OrganizationHTTPClientImpl) DeleteOrganization

func (c *OrganizationHTTPClientImpl) DeleteOrganization(ctx context.Context, in *SysOrganization, opts ...http.CallOption) (*SysOrganization, error)

func (*OrganizationHTTPClientImpl) ListOrganization

func (*OrganizationHTTPClientImpl) OrganizationTree

func (*OrganizationHTTPClientImpl) QueryOrganization

func (c *OrganizationHTTPClientImpl) QueryOrganization(ctx context.Context, in *SysOrganization, opts ...http.CallOption) (*SysOrganization, error)

func (*OrganizationHTTPClientImpl) UpdateOrganization

func (c *OrganizationHTTPClientImpl) UpdateOrganization(ctx context.Context, in *SysOrganization, opts ...http.CallOption) (*SysOrganization, error)

type OrganizationHTTPServer

type OrganizationHTTPServer interface {
	// CreateOrganization 创建组织
	CreateOrganization(context.Context, *SysOrganization) (*SysOrganization, error)
	// DeleteOrganization 删除组织
	DeleteOrganization(context.Context, *SysOrganization) (*SysOrganization, error)
	// ListOrganization 获取所有组织
	ListOrganization(context.Context, *SysOrganization) (*ListSysOrganization, error)
	// OrganizationTree 获取组织树
	OrganizationTree(context.Context, *SysOrganization) (*ListSysOrganization, error)
	// QueryOrganization 查询组织
	QueryOrganization(context.Context, *SysOrganization) (*SysOrganization, error)
	// UpdateOrganization 更新组织
	UpdateOrganization(context.Context, *SysOrganization) (*SysOrganization, error)
}

type OrganizationImpl

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

func NewOrganizationImpl

func NewOrganizationImpl(conn *grpc.ClientConn) *OrganizationImpl

func (*OrganizationImpl) CreateOrganization

func (c *OrganizationImpl) CreateOrganization(ctx context.Context, in *SysOrganization) (*SysOrganization, error)

func (*OrganizationImpl) DeleteOrganization

func (c *OrganizationImpl) DeleteOrganization(ctx context.Context, in *SysOrganization) (*SysOrganization, error)

func (*OrganizationImpl) ListOrganization

func (c *OrganizationImpl) ListOrganization(ctx context.Context, in *SysOrganization) (*ListSysOrganization, error)

func (*OrganizationImpl) OrganizationTree

func (c *OrganizationImpl) OrganizationTree(ctx context.Context, in *SysOrganization) (*ListSysOrganization, error)

func (*OrganizationImpl) QueryOrganization

func (c *OrganizationImpl) QueryOrganization(ctx context.Context, in *SysOrganization) (*SysOrganization, error)

func (*OrganizationImpl) UpdateOrganization

func (c *OrganizationImpl) UpdateOrganization(ctx context.Context, in *SysOrganization) (*SysOrganization, error)

type OrganizationServer

type OrganizationServer interface {
	// 创建组织
	CreateOrganization(context.Context, *SysOrganization) (*SysOrganization, error)
	// 查询组织
	QueryOrganization(context.Context, *SysOrganization) (*SysOrganization, error)
	// 更新组织
	UpdateOrganization(context.Context, *SysOrganization) (*SysOrganization, error)
	// 删除组织
	DeleteOrganization(context.Context, *SysOrganization) (*SysOrganization, error)
	// 获取所有组织
	ListOrganization(context.Context, *SysOrganization) (*ListSysOrganization, error)
	// 获取组织树
	OrganizationTree(context.Context, *SysOrganization) (*ListSysOrganization, error)
}

OrganizationServer is the server API for Organization service. All implementations should embed UnimplementedOrganizationServer for forward compatibility

type OrganizationSysOrganizationWithAfterCreateOrganization

type OrganizationSysOrganizationWithAfterCreateOrganization interface {
	AfterCreateOrganization(context.Context, *SysOrganization, *gorm.DB) error
}

OrganizationSysOrganizationWithAfterCreateOrganization called before DefaultCreateOrganizationSysOrganization in the default CreateOrganization handler

type OrganizationSysOrganizationWithAfterListOrganization

type OrganizationSysOrganizationWithAfterListOrganization interface {
	AfterListOrganization(context.Context, *ListSysOrganization, *gorm.DB) error
}

OrganizationSysOrganizationWithAfterListOrganization called before DefaultListOrganizationSysOrganization in the default ListOrganization handler

type OrganizationSysOrganizationWithAfterUpdateOrganization

type OrganizationSysOrganizationWithAfterUpdateOrganization interface {
	AfterUpdateOrganization(context.Context, *SysOrganization, *gorm.DB) error
}

OrganizationSysOrganizationWithAfterUpdateOrganization called before DefaultUpdateOrganizationSysOrganization in the default UpdateOrganization handler

type OrganizationSysOrganizationWithBeforeCreateOrganization

type OrganizationSysOrganizationWithBeforeCreateOrganization interface {
	BeforeCreateOrganization(context.Context, *gorm.DB) (*gorm.DB, error)
}

OrganizationSysOrganizationWithBeforeCreateOrganization called before DefaultCreateOrganizationSysOrganization in the default CreateOrganization handler

type OrganizationSysOrganizationWithBeforeListOrganization

type OrganizationSysOrganizationWithBeforeListOrganization interface {
	BeforeListOrganization(context.Context, *gorm.DB) (*gorm.DB, error)
}

OrganizationSysOrganizationWithBeforeListOrganization called before DefaultListOrganizationSysOrganization in the default ListOrganization handler

type OrganizationSysOrganizationWithBeforeUpdateOrganization

type OrganizationSysOrganizationWithBeforeUpdateOrganization interface {
	BeforeUpdateOrganization(context.Context, *gorm.DB) (*gorm.DB, error)
}

OrganizationSysOrganizationWithBeforeUpdateOrganization called before DefaultUpdateOrganizationSysOrganization in the default UpdateOrganization handler

type SysOrganization

type SysOrganization struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// 组织名称
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// 父级ID
	ParentId int32 `protobuf:"varint,3,opt,name=parentId,proto3" json:"parentId,omitempty"`
	// 层级信息,从根节点到当前节点的最短路径,使用-分割节点ID
	Hierarchy string `protobuf:"bytes,4,opt,name=hierarchy,proto3" json:"hierarchy,omitempty"`
	// 当前节点深度
	Depth int32 `protobuf:"varint,5,opt,name=depth,proto3" json:"depth,omitempty"`
	// 备注
	Remarks string `protobuf:"bytes,6,opt,name=remarks,proto3" json:"remarks,omitempty"`
	// 排序字段,由小到大
	Sort int32 `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"`
	// 创建者
	CreateBy string `protobuf:"bytes,8,opt,name=createBy,proto3" json:"createBy,omitempty"`
	// 修改者
	UpdateBy string `protobuf:"bytes,9,opt,name=updateBy,proto3" json:"updateBy,omitempty"`
	// 创建时间
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// 更新时间
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// 下级组织
	Children []*SysOrganization `protobuf:"bytes,12,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

func DefaultApplyFieldMaskSysOrganization

func DefaultApplyFieldMaskSysOrganization(ctx context.Context, patchee *SysOrganization, patcher *SysOrganization, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*SysOrganization, error)

DefaultApplyFieldMaskSysOrganization patches an pbObject with patcher according to a field mask.

func DefaultCreateSysOrganization

func DefaultCreateSysOrganization(ctx context.Context, in *SysOrganization, db *gorm.DB) (*SysOrganization, error)

DefaultCreateSysOrganization executes a basic gorm create call

func DefaultListSysOrganization

func DefaultListSysOrganization(ctx context.Context, db *gorm.DB) ([]*SysOrganization, error)

DefaultListSysOrganization executes a gorm list call

func DefaultPatchSetSysOrganization

func DefaultPatchSetSysOrganization(ctx context.Context, objects []*SysOrganization, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*SysOrganization, error)

DefaultPatchSetSysOrganization executes a bulk gorm update call with patch behavior

func DefaultPatchSysOrganization

func DefaultPatchSysOrganization(ctx context.Context, in *SysOrganization, updateMask *field_mask.FieldMask, db *gorm.DB) (*SysOrganization, error)

DefaultPatchSysOrganization executes a basic gorm update call with patch behavior

func DefaultReadSysOrganization

func DefaultReadSysOrganization(ctx context.Context, in *SysOrganization, db *gorm.DB) (*SysOrganization, error)

func DefaultStrictUpdateSysOrganization

func DefaultStrictUpdateSysOrganization(ctx context.Context, in *SysOrganization, db *gorm.DB) (*SysOrganization, error)

DefaultStrictUpdateSysOrganization clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*SysOrganization) Descriptor deprecated

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

Deprecated: Use SysOrganization.ProtoReflect.Descriptor instead.

func (*SysOrganization) GetChildren

func (x *SysOrganization) GetChildren() []*SysOrganization

func (*SysOrganization) GetCreateBy

func (x *SysOrganization) GetCreateBy() string

func (*SysOrganization) GetCreatedAt

func (x *SysOrganization) GetCreatedAt() *timestamppb.Timestamp

func (*SysOrganization) GetDepth

func (x *SysOrganization) GetDepth() int32

func (*SysOrganization) GetHierarchy

func (x *SysOrganization) GetHierarchy() string

func (*SysOrganization) GetId

func (x *SysOrganization) GetId() int32

func (*SysOrganization) GetName

func (x *SysOrganization) GetName() string

func (*SysOrganization) GetParentId

func (x *SysOrganization) GetParentId() int32

func (*SysOrganization) GetRemarks

func (x *SysOrganization) GetRemarks() string

func (*SysOrganization) GetSort

func (x *SysOrganization) GetSort() int32

func (*SysOrganization) GetUpdateBy

func (x *SysOrganization) GetUpdateBy() string

func (*SysOrganization) GetUpdatedAt

func (x *SysOrganization) GetUpdatedAt() *timestamppb.Timestamp

func (*SysOrganization) ProtoMessage

func (*SysOrganization) ProtoMessage()

func (*SysOrganization) ProtoReflect

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

func (*SysOrganization) Reset

func (x *SysOrganization) Reset()

func (*SysOrganization) String

func (x *SysOrganization) String() string

func (*SysOrganization) ToORM

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

type SysOrganizationORM

type SysOrganizationORM struct {
	Children          []*SysOrganizationORM `gorm:"foreignKey:SysOrganizationId;references:Id"`
	CreateBy          string
	CreatedAt         *time.Time
	Depth             int32
	Hierarchy         string
	Id                int32 `gorm:"type:integer;primaryKey;autoIncrement"`
	Name              string
	ParentId          int32
	Remarks           string
	Sort              int32
	SysOrganizationId *int32
	UpdateBy          string
	UpdatedAt         *time.Time
}

func (SysOrganizationORM) TableName

func (SysOrganizationORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*SysOrganizationORM) ToPB

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type SysOrganizationORMWithAfterCreate_

type SysOrganizationORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm.DB) error
}

type SysOrganizationORMWithAfterDeleteSet

type SysOrganizationORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*SysOrganization, *gorm.DB) error
}

type SysOrganizationORMWithAfterDelete_

type SysOrganizationORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm.DB) error
}

type SysOrganizationORMWithAfterListFind

type SysOrganizationORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm.DB, *[]SysOrganizationORM) error
}

type SysOrganizationORMWithAfterReadFind

type SysOrganizationORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm.DB) error
}

type SysOrganizationORMWithAfterStrictUpdateSave

type SysOrganizationORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm.DB) error
}

type SysOrganizationORMWithBeforeCreate_

type SysOrganizationORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm.DB, SysOrganizationORM) (SysOrganizationORM, *gorm.DB, error)
}

type SysOrganizationORMWithBeforeDeleteSet

type SysOrganizationORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*SysOrganization, *gorm.DB) (*gorm.DB, error)
}

type SysOrganizationORMWithBeforeDelete_

type SysOrganizationORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm.DB, SysOrganizationORM) (SysOrganizationORM, *gorm.DB, error)
}

type SysOrganizationORMWithBeforeListApplyQuery

type SysOrganizationORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type SysOrganizationORMWithBeforeListFind

type SysOrganizationORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type SysOrganizationORMWithBeforeReadApplyQuery

type SysOrganizationORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type SysOrganizationORMWithBeforeReadFind

type SysOrganizationORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type SysOrganizationORMWithBeforeStrictUpdateCleanup

type SysOrganizationORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm.DB, SysOrganizationORM) (SysOrganizationORM, *gorm.DB, error)
}

type SysOrganizationORMWithBeforeStrictUpdateSave

type SysOrganizationORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm.DB, SysOrganizationORM) (SysOrganizationORM, *gorm.DB, error)
}

type SysOrganizationWithAfterPatchSave

type SysOrganizationWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *SysOrganization, *field_mask.FieldMask, *gorm.DB) error
}

type SysOrganizationWithAfterToORM

type SysOrganizationWithAfterToORM interface {
	AfterToORM(context.Context, *SysOrganizationORM) error
}

SysOrganizationAfterToORM called after default ToORM code

type SysOrganizationWithAfterToPB

type SysOrganizationWithAfterToPB interface {
	AfterToPB(context.Context, *SysOrganization) error
}

SysOrganizationAfterToPB called after default ToPB code

type SysOrganizationWithBeforePatchApplyFieldMask

type SysOrganizationWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *SysOrganization, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type SysOrganizationWithBeforePatchRead

type SysOrganizationWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *SysOrganization, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type SysOrganizationWithBeforePatchSave

type SysOrganizationWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *SysOrganization, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type SysOrganizationWithBeforeToORM

type SysOrganizationWithBeforeToORM interface {
	BeforeToORM(context.Context, *SysOrganizationORM) error
}

SysOrganizationBeforeToORM called before default ToORM code

type SysOrganizationWithBeforeToPB

type SysOrganizationWithBeforeToPB interface {
	BeforeToPB(context.Context, *SysOrganization) error
}

SysOrganizationBeforeToPB called before default ToPB code

type UnimplementedOrganizationServer

type UnimplementedOrganizationServer struct {
}

UnimplementedOrganizationServer should be embedded to have forward compatible implementations.

func (UnimplementedOrganizationServer) CreateOrganization

func (UnimplementedOrganizationServer) DeleteOrganization

func (UnimplementedOrganizationServer) ListOrganization

func (UnimplementedOrganizationServer) OrganizationTree

func (UnimplementedOrganizationServer) QueryOrganization

func (UnimplementedOrganizationServer) UpdateOrganization

type UnsafeOrganizationServer

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

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

Jump to

Keyboard shortcuts

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