Documentation ¶
Index ¶
- Constants
- type EdgeConfig
- func (e *EdgeConfig) DisableRead(opts ...entityConfigOption) *EdgeConfig
- func (e *EdgeConfig) DisableWrite(opts ...entityConfigOption) *EdgeConfig
- func (e *EdgeConfig) EnableRead(opts ...entityConfigOption) *EdgeConfig
- func (e *EdgeConfig) EnableWrite(opts ...edgeConfigOption) *EdgeConfig
- func (c *EdgeConfig) GetReadEnabled(mode string) *bool
- func (c *EdgeConfig) GetWriteEnabled(mode string) *bool
- func (*EdgeConfig) Name() string
- type EntityConfig
- func (c *EntityConfig) DisableCreate(opts ...entityConfigOption) *EntityConfig
- func (c *EntityConfig) DisableDelete(opts ...entityConfigOption) *EntityConfig
- func (c *EntityConfig) DisableReadMany(opts ...entityConfigOption) *EntityConfig
- func (c *EntityConfig) DisableReadOne(opts ...entityConfigOption) *EntityConfig
- func (c *EntityConfig) DisableUpdate(opts ...entityConfigOption) *EntityConfig
- func (c *EntityConfig) EnableCreate(opts ...entityConfigOption) *EntityConfig
- func (c *EntityConfig) EnableDelete(opts ...entityConfigOption) *EntityConfig
- func (c *EntityConfig) EnableReadMany(opts ...entityConfigOption) *EntityConfig
- func (c *EntityConfig) EnableReadOne(opts ...entityConfigOption) *EntityConfig
- func (c *EntityConfig) EnableUpdate(opts ...entityConfigOption) *EntityConfig
- func (c *EntityConfig) GetCreateOpEnabled(mode string) *bool
- func (c *EntityConfig) GetDeleteOpEnabled(mode string) *bool
- func (c *EntityConfig) GetReadManyOpEnabled(mode string) *bool
- func (c *EntityConfig) GetReadOneOpEnabled(mode string) *bool
- func (c *EntityConfig) GetUpdateOpEnabled(mode string) *bool
- func (c *EntityConfig) Name() string
- type FieldConfig
- type Modes
Constants ¶
View Source
const EdgeConfigID = "EdgeConfig"
View Source
const EntityConfigID = "EntityConfig"
View Source
const (
FieldConfigID = "FieldConfig"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EdgeConfig ¶
type EdgeConfig struct {
// contains filtered or unexported fields
}
func Edge ¶
func Edge() *EdgeConfig
func (*EdgeConfig) DisableRead ¶
func (e *EdgeConfig) DisableRead(opts ...entityConfigOption) *EdgeConfig
func (*EdgeConfig) DisableWrite ¶
func (e *EdgeConfig) DisableWrite(opts ...entityConfigOption) *EdgeConfig
func (*EdgeConfig) EnableRead ¶
func (e *EdgeConfig) EnableRead(opts ...entityConfigOption) *EdgeConfig
func (*EdgeConfig) EnableWrite ¶
func (e *EdgeConfig) EnableWrite(opts ...edgeConfigOption) *EdgeConfig
func (*EdgeConfig) GetReadEnabled ¶
func (c *EdgeConfig) GetReadEnabled(mode string) *bool
func (*EdgeConfig) GetWriteEnabled ¶
func (c *EdgeConfig) GetWriteEnabled(mode string) *bool
func (*EdgeConfig) Name ¶
func (*EdgeConfig) Name() string
type EntityConfig ¶
type EntityConfig struct {
// contains filtered or unexported fields
}
func Entity ¶
func Entity() *EntityConfig
func (*EntityConfig) DisableCreate ¶
func (c *EntityConfig) DisableCreate(opts ...entityConfigOption) *EntityConfig
func (*EntityConfig) DisableDelete ¶
func (c *EntityConfig) DisableDelete(opts ...entityConfigOption) *EntityConfig
func (*EntityConfig) DisableReadMany ¶
func (c *EntityConfig) DisableReadMany(opts ...entityConfigOption) *EntityConfig
func (*EntityConfig) DisableReadOne ¶
func (c *EntityConfig) DisableReadOne(opts ...entityConfigOption) *EntityConfig
func (*EntityConfig) DisableUpdate ¶
func (c *EntityConfig) DisableUpdate(opts ...entityConfigOption) *EntityConfig
func (*EntityConfig) EnableCreate ¶
func (c *EntityConfig) EnableCreate(opts ...entityConfigOption) *EntityConfig
func (*EntityConfig) EnableDelete ¶
func (c *EntityConfig) EnableDelete(opts ...entityConfigOption) *EntityConfig
func (*EntityConfig) EnableReadMany ¶
func (c *EntityConfig) EnableReadMany(opts ...entityConfigOption) *EntityConfig
func (*EntityConfig) EnableReadOne ¶
func (c *EntityConfig) EnableReadOne(opts ...entityConfigOption) *EntityConfig
func (*EntityConfig) EnableUpdate ¶
func (c *EntityConfig) EnableUpdate(opts ...entityConfigOption) *EntityConfig
func (*EntityConfig) GetCreateOpEnabled ¶
func (c *EntityConfig) GetCreateOpEnabled(mode string) *bool
func (*EntityConfig) GetDeleteOpEnabled ¶
func (c *EntityConfig) GetDeleteOpEnabled(mode string) *bool
func (*EntityConfig) GetReadManyOpEnabled ¶
func (c *EntityConfig) GetReadManyOpEnabled(mode string) *bool
func (*EntityConfig) GetReadOneOpEnabled ¶
func (c *EntityConfig) GetReadOneOpEnabled(mode string) *bool
func (*EntityConfig) GetUpdateOpEnabled ¶
func (c *EntityConfig) GetUpdateOpEnabled(mode string) *bool
func (*EntityConfig) Name ¶
func (c *EntityConfig) Name() string
type FieldConfig ¶
type FieldConfig struct {
// contains filtered or unexported fields
}
func Field ¶
func Field() *FieldConfig
func (*FieldConfig) GetPublic ¶
func (c *FieldConfig) GetPublic(mode string) *bool
func (*FieldConfig) Name ¶
func (c *FieldConfig) Name() string
func (*FieldConfig) SetPrivate ¶
func (c *FieldConfig) SetPrivate(opts ...fieldConfigOption) *FieldConfig
func (*FieldConfig) SetPublic ¶
func (c *FieldConfig) SetPublic(opts ...fieldConfigOption) *FieldConfig
Click to show internal directories.
Click to hide internal directories.