rest

package
v0.0.0-...-1d4a79d Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompanyHandler

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

func NewCompanyHandler

func NewCompanyHandler(companyService *service.CompanyService) *CompanyHandler

type CreateOrganizationReq

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

type ErrResponse

type ErrResponse struct {
	Error string `json:"error,omitempty"`
}

type OrganizationRes

type OrganizationRes struct {
	ErrResponse
	Id                  string `json:"id"`
	Name                string `json:"name"`
	JiraProjectKey      string `json:"jiraProjectKey,omitempty"`
	BitbucketProjectKey string `json:"bitbucketProjectKey,omitempty"`
}

type Server

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

func NewServer

func NewServer(orgUnitHandler *CompanyHandler, config *config.Configuration) *Server

func (*Server) Run

func (server *Server) Run()

type UpdateOrganizationReq

type UpdateOrganizationReq struct {
	Action string `json:"action"`
	Name   string `json:"name"`
}

Jump to

Keyboard shortcuts

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