userlist

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2025 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Company represents a company in UserList.com

Index

Constants

View Source
const (
	UserListBaseUrl = "https://push.userlist.com"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Company

type Company struct {
	Identifier string                 `json:"identifier"`
	Name       string                 `json:"name,omitempty"`
	SignedUpAt string                 `json:"signed_up_at,omitempty"`
	Properties map[string]interface{} `json:"properties,omitempty"`
	Users      []UserListUser         `json:"users,omitempty"`
}

Company represents a company in UserList.com. It contains information about the company, including its identifier, name, sign-up date, custom properties, and associated users.

type CompanyCreateResponse

type CompanyCreateResponse struct {
	Identifier string `json:"id"`
}

type Service

type Service struct{}

func (Service) Category

func (s Service) Category() string

func (Service) Enabled

func (s Service) Enabled() bool

func (Service) Init

func (s Service) Init()

func (Service) Name

func (s Service) Name() string

type UserListUser

type UserListUser struct {
	Identifier string                 `json:"identifier,omitempty"`
	Company    string                 `json:"company,omitempty"`
	Email      string                 `json:"email,omitempty"`
	SignedUpAt string                 `json:"signed_up_at,omitempty"`
	Properties map[string]interface{} `json:"properties,omitempty"`
}

UserListUser represents a user in UserList.com. It contains information about the user, including their identifier, email, sign-up date, and custom properties.

type UserListUserToDelete

type UserListUserToDelete struct {
	Identifier string `json:"identifier"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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