commons

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateOptions

type CreateOptions struct {
	Name   string `json:"name"`
	UserID string `json:"user_id,omitempty"`
}

type Organisation

type Organisation struct {
	ID        string    `json:"id,omitempty"`
	CreatedAt time.Time `json:"created_at,omitempty"`
	UpdatedAt time.Time `json:"updated_at,omitempty"`
	Name      string    `json:"name,omitempty"`
	UserID    string    `json:"user_id,omitempty"`

	ServerKey string `json:"server_copy,omitempty"`
}

func (*Organisation) Marshal

func (w *Organisation) Marshal() ([]byte, error)

func (*Organisation) Unmarshal

func (w *Organisation) Unmarshal(data []byte) error

type UpdateInviteLimitOptions

type UpdateInviteLimitOptions struct {
	ID               string
	IncrementLimitBy int
}

type UpdateOptions

type UpdateOptions struct {
	Name string `json:"name"`
}

type UpdateServerKeyCopyOptions

type UpdateServerKeyCopyOptions struct {
	OrgID string
	Key   string
}

Jump to

Keyboard shortcuts

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