routes

package
v0.0.0-...-48dc23e Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const APP_SOURCE = "user-admin-api"

Variables

This section is empty.

Functions

func Run

func Run(config *config.Config, services *service.Services)

Run will start the server

Types

type OauthSlackResponse

type OauthSlackResponse struct {
	Ok         bool   `json:"ok"`
	Error      string `json:"error"`
	AppId      string `json:"app_id"`
	AuthedUser struct {
		Id string `json:"id"`
	} `json:"authed_user"`
	Scope       string `json:"scope"`
	TokenType   string `json:"token_type"`
	AccessToken string `json:"access_token"`
	BotUserId   string `json:"bot_user_id"`
	Team        struct {
		Id   string `json:"id"`
		Name string `json:"name"`
	} `json:"team"`
	Enterprise          interface{} `json:"enterprise"`
	IsEnterpriseInstall bool        `json:"is_enterprise_install"`
}

type OauthSlackRevokeResponse

type OauthSlackRevokeResponse struct {
	Ok      bool    `json:"ok"`
	Revoked *bool   `json:"revoked"`
	Error   *string `json:"error"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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