outline_manager_api

package module
v0.0.0-...-e74be21 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete_key

func Delete_key(API_URL string, key_id string) error

func Remove_data_limit_for_key

func Remove_data_limit_for_key(API_URL string, key_id string) error

func Remove_data_limit_for_server

func Remove_data_limit_for_server(API_URL string) error

func Rename_key

func Rename_key(API_URL string, key_id string, name string) error

func Set_data_limit_for_key

func Set_data_limit_for_key(API_URL string, key_id string, limit string) error

func Set_data_limit_for_server

func Set_data_limit_for_server(API_URL string, limit string) error

Types

type Key

type Key struct {
	Id        string `json:"id"`
	Name      string `json:"name"`
	AccessUrl string `json:"accessUrl"`
}

func Create_key

func Create_key(API_URL string) (Key, error)

type Keys

type Keys map[string][]Key

func Get_all_keys

func Get_all_keys(API_URL string) (Keys, error)

Jump to

Keyboard shortcuts

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