group

package
v0.0.0-...-7ee3c9b Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package group is a generated protocol buffer package.

It is generated from these files:

proto/group/group.proto

It has these top-level messages:

Group

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultDeleteGroup

func DefaultDeleteGroup(ctx context.Context, in *Group, db *gorm1.DB) error

func DefaultDeleteGroupSet

func DefaultDeleteGroupSet(ctx context.Context, in []*Group, db *gorm1.DB) error

Types

type GroupORM

type GroupORM struct {
	Bio             string
	ID              string `gorm:"type:uuid;primary_key"`
	Name            string
	NumGroupMembers int32
	Tags            pq1.StringArray `gorm:"type:text[]"`
	Type            string
}

func (GroupORM) TableName

func (GroupORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*GroupORM) ToPB

func (m *GroupORM) ToPB(ctx context.Context) (Group, error)

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 GroupORMWithAfterCreate_

type GroupORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type GroupORMWithAfterDeleteSet

type GroupORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Group, *gorm1.DB) error
}

type GroupORMWithAfterDelete_

type GroupORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type GroupORMWithAfterListFind

type GroupORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]GroupORM) error
}

type GroupORMWithAfterReadFind

type GroupORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type GroupORMWithAfterStrictUpdateSave

type GroupORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type GroupORMWithBeforeCreate_

type GroupORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type GroupORMWithBeforeDeleteSet

type GroupORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Group, *gorm1.DB) (*gorm1.DB, error)
}

type GroupORMWithBeforeDelete_

type GroupORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type GroupORMWithBeforeListApplyQuery

type GroupORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type GroupORMWithBeforeListFind

type GroupORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type GroupORMWithBeforeReadApplyQuery

type GroupORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type GroupORMWithBeforeReadFind

type GroupORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type GroupORMWithBeforeStrictUpdateCleanup

type GroupORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type GroupORMWithBeforeStrictUpdateSave

type GroupORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type GroupWithAfterPatchSave

type GroupWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Group, *field_mask1.FieldMask, *gorm1.DB) error
}

type GroupWithAfterToORM

type GroupWithAfterToORM interface {
	AfterToORM(context.Context, *GroupORM) error
}

GroupAfterToORM called after default ToORM code

type GroupWithAfterToPB

type GroupWithAfterToPB interface {
	AfterToPB(context.Context, *Group) error
}

GroupAfterToPB called after default ToPB code

type GroupWithBeforePatchApplyFieldMask

type GroupWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Group, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type GroupWithBeforePatchRead

type GroupWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Group, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type GroupWithBeforePatchSave

type GroupWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Group, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type GroupWithBeforeToORM

type GroupWithBeforeToORM interface {
	BeforeToORM(context.Context, *GroupORM) error
}

GroupBeforeToORM called before default ToORM code

type GroupWithBeforeToPB

type GroupWithBeforeToPB interface {
	BeforeToPB(context.Context, *Group) error
}

GroupBeforeToPB called before default ToPB code

Jump to

Keyboard shortcuts

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