Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodePermission ¶
func DecodePermission(dec *gojay.Decoder) (discord.Permission, error)
func DecodeType ¶
func DecodeType(dec *gojay.Decoder) (discord.OverwriteType, error)
Types ¶
type OverwriteSlice ¶
type OverwriteSlice []discord.PermissionOverwrite
func (OverwriteSlice) IsNil ¶
func (o OverwriteSlice) IsNil() bool
func (OverwriteSlice) MarshalJSON ¶
func (o OverwriteSlice) MarshalJSON() ([]byte, error)
func (OverwriteSlice) MarshalJSONArray ¶
func (o OverwriteSlice) MarshalJSONArray(enc *gojay.Encoder)
func (*OverwriteSlice) UnmarshalJSON ¶
func (o *OverwriteSlice) UnmarshalJSON(bytes []byte) error
func (*OverwriteSlice) UnmarshalJSONArray ¶
func (o *OverwriteSlice) UnmarshalJSONArray(dec *gojay.Decoder) error
Click to show internal directories.
Click to hide internal directories.