resources

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminBlogResource added in v0.0.2

type AdminBlogResource struct {
	// contains filtered or unexported fields
}

func NewAdminBlogResource added in v0.0.2

func NewAdminBlogResource(c interfaces.ClientInterface) *AdminBlogResource

func (*AdminBlogResource) Get added in v0.0.2

func (*AdminBlogResource) List added in v0.0.2

func (*AdminBlogResource) ListWithParams added in v0.0.2

type CreateMicropostRequest

type CreateMicropostRequest struct {
	Body                           string
	Title                          *string
	PostType                       schemas.PostType
	CommunityName                  *string
	ParentMicropostPublicID        *string
	ParentMicropostCommentPublicID *string
	AllowComments                  bool
	IsDraft                        bool
	File                           *FilePayload
}

type CreateUserJobRequest

type CreateUserJobRequest struct {
	CompanyName        string
	CompanyDescription string
	CompanyWebsite     string
	JobTitle           string
	JobDescription     string
	JobHowToApply      string

	CompanyLocation        *string
	JobLocation            schemas.JobLocation
	JobType                schemas.JobType
	JobCategory            schemas.JobCategory
	JobExperienceLevel     schemas.JobExperienceLevel
	JobMinimumSalary       *int
	JobMaximumSalary       *int
	JobPayInCryptocurrency bool
	JobSkills              *string
}

type FilePayload

type FilePayload struct {
	Filename string
	Reader   io.Reader
	MimeType string
}

type JobResource

type JobResource struct {
	// contains filtered or unexported fields
}

func NewJobResource

func NewJobResource(c interfaces.ClientInterface) *JobResource

func (*JobResource) CreateWithCompany

func (*JobResource) Delete added in v0.0.1

func (r *JobResource) Delete(ctx context.Context, slug string) error

type ListAdminBlogsRequest added in v0.0.2

type ListAdminBlogsRequest struct {
	Title    *string
	Category *string
	Skip     *int
	Limit    *int
}

type MicropostResource

type MicropostResource struct {
	// contains filtered or unexported fields
}

func (*MicropostResource) Delete added in v0.0.1

func (r *MicropostResource) Delete(ctx context.Context, publicID string) error

func (*MicropostResource) Vote added in v0.0.2

Jump to

Keyboard shortcuts

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